tweaked: Git protocol checks to only trigger when subcommand is checkout, else we get warnings printed when it doesn't make sense, like building.