add tests for git update user permissions and copying