Get the latest tech news
Git-fetch-file – Sync files from other repos with commit tracking and safety
Fetch and sync individual files or globs from other Git repositories, with commit tracking and local-change protection - andrewmcwattersandco/git-fetch-file
Fetch and sync individual files or globs from other Git repositories, with commit tracking and local-change protection git-fetch-file(1) is a utility for importing specific files from other Git repositories into your own project while keeping a manifest (.git-remote-files) that remembers where they came from and what commit they belong to. --force: Overwrite local changes to files--save: Update the commit in .git-remote-files if you're tracking a branch or tag that moved
Or read this on Hacker News