git-gui: Include version check and test for tearoff menu entry