For some reason, when I clone a repository on my openshift gear some directories show as the name of the directory, but they are files without extensions. How can I fix this?
some directories show as the name of the directory, but they are files without extensions
In your case the "folders" are links.
They can be symbolic links or submodules.
Example:
This is how submodules appear in github:
When checked out to git they are simple folders
And this is how symlinks are displayed (arrow)
And on the file system (Unix) it will look lie this: