Retrieve the current working branch on a particular git repository.