# Commit changes

Create, modify, compare, and troubleshoot branches and commits to streamline collaboration in your pull requests.

## Links

* [Managing branches within your repository](/zh/pull-requests/how-tos/commit-changes/managing-branches-within-your-repository)

  Create new branches for development and delete unused branches directly on GitHub.

* [Committing changes to a pull request branch created from a fork](/zh/pull-requests/how-tos/commit-changes/committing-changes-to-a-pull-request-branch-created-from-a-fork)

  Commit changes to a pull request branch created from a fork by obtaining the necessary permissions and using Git commands effectively.

* [Creating a commit with multiple authors or on behalf of an organization](/zh/pull-requests/how-tos/commit-changes/creating-a-commit-with-multiple-authors)

  Attribute commits to multiple authors or organizations using trailers in commit messages for better collaboration and transparency.

* [Changing a commit message](/zh/pull-requests/how-tos/commit-changes/changing-a-commit-message)

  Amend unclear, incorrect, or sensitive commit messages locally and push updated commits to GitHub, including steps for editing recent or older commits.

* [Comparing commits](/zh/pull-requests/how-tos/commit-changes/comparing-commits)

  Compare branches, tags, commits, forks, and dates to analyze changes and track repository history effectively.

* [Troubleshooting commits](/zh/pull-requests/how-tos/commit-changes/troubleshooting-commits)

  Resolve common commit issues like incorrect user links, missing local commits, and push protection blocks.