Index: bat/Cargo.toml
===================================================================
--- bat.orig/Cargo.toml
+++ bat/Cargo.toml
@@ -89,7 +89,7 @@ optional = true
 version = "1.0"
 
 [dependencies.git2]
-version = "0.19"
+version = ">= 0.19, < 0.21"
 optional = true
 default-features = false
 
