After cloning the repository include the .gitconfig file in .git/config to arm the clean and smudge filters declared in .gitattributes. # .git/config [include] path = ../.gitconfig