make sure we're in git mode for git operations