Take care of having multiple branches in the local git tree and use the current one