Testing permission preservation of git