Improve a bit the git support.