Encode single Git files as well in Git class