diff --git a/lib/git/cmd.py b/lib/git/cmd.py
index <HASH>..<HASH> 100644
--- a/lib/git/cmd.py
+++ b/lib/git/cmd.py
@@ -132,12 +132,12 @@ class Git(MethodMissingMixin):
             if len(k) == 1:
                 if v is True:
                     args.append("-%s" % k)
-                else:
+                elif type(v) is not bool:
                     args.append("-%s%s" % (k, v))
             else:
                 if v is True:
                     args.append("--%s" % dashify(k))
-                else:
+                elif type(v) is not bool:
                     args.append("--%s=%s" % (dashify(k), v))
         return args
Git: guard against passing False to git commands

git does not accept commands of the form:
	git cmd --xx=False
		or
	git cmd -xFalse

This patch prevents transform_kwargs from producing
command lines with those values.

This adds some flexibility/syntactic sugar for callers
since they can then assume that kwargs with a False value
are not passed to git commands.