Github在他们的"fork a repo"帮助文档中有一个这样的例子.
git remote add upstream git://github.com/mantisbt/mantisbt // Assigns the original repo to a remote called "upstream" git fetch upstream