I found this answer because I was trying to prevent git from running git gcin the background, because it was messing with other operations I was trying to perform on the repo. It turns out you can specifically disable the backgrounding behaviour with