Checks for existence of git repo