test for git behaviours