Pass '-b' instead of '-B' to git, it's more compatible.