Better method name
vcs_info already checks if we're in a git repo