`.git/info/grafts` lets you preserve git history between different repositories by enabling two otherwise different lines of development to be joined together.
Graft points—or grafts—enable two otherwise different lines of development to be joined together. It works by letting users record fake ancestry information for commits. This way you can make git pretend the set of parents a commit has is different from what was recorded when the commit was created.