3382be Get the proper branch name from the remote instead of the local branch

Authored and Committed by bstinson 5 years ago
    Get the proper branch name from the remote instead of the local branch
    name.
    
    This allows you to clone a commit directly by its hash, and not be
    required to set up a tracking branch (with a matching name) to its
    upstream.
    
        
file modified
+1 -1