Make the rightmost segment to be the git one