Do not try to get logs and branch name if we are not in git repo. Simple `non-git` repo is now blazing fast