add git functionality to patch-bitcoin.sh.