fixed GIT recognition - .git can be a file