fixed git and git repo recognition