Git - branch name same as a prefix of existing commit hash

git

Solution

$ git fetch
$ git checkout -b 'ce38' --track origin/'ce38'

Problem

I have a remote branch with a name that matches a prefix of existing commit hash in the master branch. I want to checkout this branch, but git will go for the commit instead. Is there an easy solution to this problem? - The name of the branch is 'ce38'. - There is also a commit with hash 'ce38a103b...'. - The name of the remote is 'origin'

Original source