Resolves the currently checked out branch of the git repository in the current directory.