The browser is a good place to fix a sentence. It becomes less comfortable when your improvement spans several files, needs a local preview, or requires running the project. GitHub Desktop provides a visual way to manage that work while keeping the repository's history and review process intact.
Desktop is a Git client. Your editor changes files; Desktop shows what changed and records commits; GitHub hosts the shared repository and pull-request conversation. You can choose an editor independently. You do not need to learn every Git command before making a useful contribution.
This walkthrough continues a simple example: clarifying a project's download instructions. We will work on a branch, review the changed text, publish the branch, and open a pull request. It assumes you have a GitHub account, permission to access the repository, and an editor that can save plain-text Markdown.
Install Desktop and sign in to the right host
Download the application from the official GitHub Desktop site. Use your organization's software-distribution route if it manages installations. GitHub Desktop's official application targets Windows and macOS; Linux users should choose a supported alternative rather than assuming a similarly named package is GitHub's official build.
Open the account settings: GitHub Desktop → Settings on macOS, or File → Options on Windows. In Accounts, select the sign-in option for your host and complete authentication in the browser. Return to Desktop when prompted.
For a GitHub.com account, use its GitHub.com sign-in. For GitHub Enterprise Server or Enterprise Cloud with data residency, use Sign Into GitHub Enterprise and enter the supplied enterprise URL. A company paying for GitHub Enterprise Cloud on GitHub.com does not, for that reason alone, have a separate server address. GitHub's Desktop authentication instructions make that distinction explicit.
Also configure your commit name and email in Desktop's Git settings. This is the author information recorded with commits, not another repository password. Use the appropriate work identity, or the no-reply address shown in your GitHub email settings if that fits your account and project policy.
Choose the right repository before cloning
For a project where you can create contribution branches, clone the original repository. For an open-source project where you lack write access, create a fork in the browser first and clone your fork. That makes the intended push destination clear from the beginning.
- Copy the clone URL from the repository's Code menu.
- In Desktop, choose File → Clone Repository.
- Select the appropriate account tab, or use URL and paste the address.
- Choose a local folder where you can find the project again.
- Select Clone and wait for the file transfer to finish.
Desktop also supports prompting to create a fork when a user attempts to publish to a repository they cannot write to. Forking remains subject to repository and organization policy. The Desktop clone-and-fork guide describes both approaches.
For this exercise, suppose you cloned your fork of a repository called example-project. Open the local folder and confirm that its README matches the project you intended to change. In Desktop, verify Current Repository. Similar repository names and multiple local copies are a surprisingly effective way to edit the wrong project.
Cloning gives you a connected working copy. Downloading a ZIP and then selecting “add repository” is not an equivalent operation: the ZIP did not include Git's repository history. If you already edited a ZIP, preserve those edits, clone properly, and transfer only the intended changes into the clone.
Understand the four checkpoints
A file can be saved on your computer without being committed, committed without being pushed, and pushed without having a pull request. Desktop makes those states visible, but it cannot decide which state you intended.
| Action | What it accomplishes | Where to confirm it |
|---|---|---|
| Save in your editor | Writes the current file contents | Desktop's Changes view |
| Commit | Records selected changes in local history | Desktop's History view |
| Publish branch or push | Sends the branch or new commits to the remote | GitHub's branch view |
| Create pull request | Proposes the branch's changes for review | GitHub's Pull requests tab |
Think of these as distinct decisions. You might save repeatedly while drafting, make a commit when the explanation is coherent, and publish when it is ready for someone else to inspect. A commit is not a deployment. A push is not a merge.
Create a branch before editing
Start from the project's requested contribution base, often its default branch. With no unfinished edits, select that branch, choose Fetch origin, and pull any available changes. If you are working in a fork, make sure its base is synchronized with the upstream project too; fetching your own fork alone does not incorporate new upstream commits.
Then use Current Branch → New Branch, or the branch menu's new-branch command, and name the branch docs/clarify-downloads. Check its starting branch before creating it. Your organization may enforce another naming convention; follow that convention instead.
The branch is your place to assemble one change. Avoid putting three unrelated improvements into it just because you noticed them together. Reviewers can evaluate a focused request more easily, and you can revise or withdraw it without also disturbing an unrelated fix.
GitHub documents branch creation, publishing, and switching in Managing branches in GitHub Desktop. If Desktop asks what to do with uncommitted work while switching, read the choice carefully. Bringing changes to the new branch and leaving them on the old branch have different results.
Edit the file, then inspect what actually changed
Open the repository in your preferred editor through Desktop's repository menu, or open the cloned folder directly. Edit README.md and save it. The proposed wording should identify the installation distribution and explain when source downloads are appropriate.
Return to Desktop's Changes view. Select the README and read the diff, which shows added and removed text. The useful question is not merely whether your new paragraph appears. Ask whether anything else changed unexpectedly.
If the diff shows every line removed and re-added, investigate line endings or formatting before committing. If it includes operating-system files, local settings, or downloaded packages, those probably do not belong in this documentation change. Do not click “discard” reflexively: discarding an uncommitted change can remove work you still need. Leave unrelated files out of this commit and handle them separately.
Select only the intended file or changes. Enter a summary such as Clarify source and release download options, then choose Commit to docs/clarify-downloads. Desktop's commit and review instructions explain change selection and the subsequent push.
After the commit, the selected change should appear in History. A clean Changes view means there are no remaining uncommitted changes in that working copy. It does not mean GitHub has received your commit.
Publish and open the pull request
For a new branch, select Publish branch. For a branch already on the remote, select Push origin when there are outgoing commits. Confirm that the destination is your fork or the repository where you have contribution permission.
Then use Preview Pull Request to inspect the comparison, or the create-pull-request command to continue in the browser. Confirm the base branch and destination repository, especially when working from a fork. Complete the description and submit the request. GitHub's Desktop pull-request guide covers this handoff.
For our example, the result should be a request that changes the download paragraph in the original project's README. Its description might say:
The README did not distinguish packaged downloads from source archives. This change explains which route a user should choose. I checked the Markdown preview and the referenced download location; I did not rebuild or test the application.
That final sentence gives the reviewer useful evidence. A documentation-only task does not need invented application-test results to appear complete.
Bring feedback back into the same branch
When a reviewer requests a revision, return to docs/clarify-downloads, edit the file, review the diff, commit, and push. The existing pull request receives the new commits. Opening another request for the same revision usually fragments the conversation.
If Git reports a conflict, two histories need reconciliation. Read the conflicting passages and preserve the intended meaning from both sides where appropriate. For code you do not understand, involve the maintainer instead of choosing one side mechanically. After resolving a conflict, inspect the resulting file and run the relevant checks before completing the merge or update.
Once the request is merged, switch back to the base branch and update it. In a fork, synchronize with the original project as needed. Delete the finished topic branch when you no longer need it, and create a fresh branch for the next change.
Diagnose the state, not just the error message
If a file does not appear in Changes, check whether it was saved, whether you opened the right local folder, and whether it is ignored. If the commit exists locally but is absent online, check for an unpublished branch or outgoing commits. If publishing fails, check the remote host, account, permission, and organization sign-on requirements.
A successful fetch confirms that you can read from the remote; it does not establish that you can push. A successful push establishes publication of that branch; it does not bypass required checks or reviews. These distinctions keep troubleshooting focused.
The value of Desktop is that it makes the contribution visible at each stage. You can inspect the files, inspect the commit, inspect the remote branch, and inspect the request. That is enough to support serious collaborative work without making the terminal your first lesson.