modify git branch function because colrm isn't available on cygwin