# 使用分叉

通过派生仓库高效地创建仓库副本、同步更改和管理拉取请求分支。

## Links

* [为存储库创建分支](/zh/enterprise-server@3.19/pull-requests/how-tos/work-with-forks/fork-a-repo)

  创建存储库分支 GitHub ，以便提出更改、协作处理项目以及管理自己的代码库副本。

* [为分支配置远程存储库](/zh/enterprise-server@3.19/pull-requests/how-tos/work-with-forks/configuring-a-remote-repository-for-a-fork)

  设置一个远程指向 Git 中的上游存储库，以同步分支和原始存储库之间的更改。

* [Syncing a fork](/zh/enterprise-server@3.19/pull-requests/how-tos/work-with-forks/syncing-a-fork)

  Sync a forked repository with its upstream repository using the web interface, GitHub CLI, or command line.

* [Allowing changes to a pull request branch created from a fork](/zh/enterprise-server@3.19/pull-requests/how-tos/work-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)

  Enable collaboration by allowing repository maintainers to commit changes to pull request branches created from forks in your personal account.

* [分离分支](/zh/enterprise-server@3.19/pull-requests/how-tos/work-with-forks/detaching-a-fork)

  通过离开网络或通过手动步骤创建独立存储库，断开存储库与其分支网络的连接。