Opened GitHub Desktop for the first time and not sure where to start? Let’s walk through the interface section by section!
Main Window: 4 Zones
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. Top panel (repository and branch) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 2. Tabs โ 3. Right panel โ
โ Changes (3) โ Diff (changes) โ
โ History โ โ
โ โ โ
โ File list โ Change details โ
โ ------------- โ ---------------------------โ
โ 4. Commit zone (Summary, Description) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Zone 1: Top Panel
Current Repository โผ
Shows the active repository.
Click to open the list of all your repositories:
- Recently Used
- All repositories
- Add button to add a new one
Current Branch โผ
Shows the current branch (usually main or master).
Click to see:
- List of branches
- New Branch button (create a branch)
- Pull Requests (if any)
Buttons on the right
- Fetch origin โ check for updates from GitHub
- Pull origin โ download changes
- Push origin โ upload your commits
Zone 2: Tabs (Changes & History)
Changes
Shows what you’ve changed:
โ new_file.py +45 lines
โ edited_file.js ~12 lines
โ deleted_file.txt -30 lines
Symbols:
- + green โ file added
- ~ yellow โ file modified
- - red โ file deleted
Checkboxes โ files that will be included in the commit.
History
Shows all commits:
Apr 10 | Add tests (Vasya Petrov)
Apr 9 | Fix critical bug (Masha Ivanova)
Apr 8 | Initial commit (You)
Click a commit to see what was changed.
Zone 3: Right Panel (Diff)
Shows details of the changes:
In Changes mode:
function calculatePrice(quantity) {
- return quantity * 100;
+ return quantity * 120; // Price increase
}
- Red lines (- minus) โ removed
- Green lines (+ plus) โ added
- White lines โ no changes (context)
In History mode:
Shows which files were modified in the selected commit.
Zone 4: Commit (Creating a Commit)
Two text fields:
Summary (required)
Short description of what was done:
โ
Good examples:
- Add login form
- Fix navbar on mobile
- Update dependencies
โ Bad examples:
- fix (what fix?)
- asdfsdf (gibberish)
- stuff (unclear)
Description (optional)
Detailed description of why and how:
Add login form
- Email validation
- Password strength check
- Remember me checkbox
- Forgot password link
Fixes #123
Commit Button
Commit to main โ create a commit with the selected files.
Repository Menu
Useful commands:
Open in…
- Open in Visual Studio Code โ open in the editor
- Open in Terminal โ open terminal
- Show in Explorer (Windows) / Show in Finder (Mac)
View on GitHub
Opens the repository on GitHub.com in the browser.
Repository Settings
Settings:
- Path to the repository
- Remote (where it was cloned from)
- Ignored Files (.gitignore)
Create Pull Request
Create a Pull Request on GitHub.
Branch Menu
New Branch
Create a new branch from the current one:
- Click Branch โ New Branch
- Enter a name:
feature/login-form - Click Create Branch
Merge into Current Branch
Merge another branch into the current one:
- Branch โ Merge into Current Branch
- Choose the branch to merge
- Click Merge
Rename
Rename the current branch.
Delete
Delete the branch (only if merged or no longer needed).
Keyboard Shortcuts
Windows
Ctrl+Nโ New RepositoryCtrl+Oโ Add Local RepositoryCtrl+Shift+Fโ Show in ExplorerCtrl+Shift+Aโ Open in EditorCtrl+Shift+Cโ Open in TerminalCtrl+1โ Changes tabCtrl+2โ History tabCtrl+Enterโ CommitCtrl+Pโ PushCtrl+Shift+Pโ Pull
macOS
Same, but Cmd instead of Ctrl.
Useful Indicators
Sync icon
In the top right corner:
- โ 3 โ you have 3 unpushed commits
- โ 5 โ there are 5 new commits on GitHub
- โ 2 โ 1 โ 2 yours, 1 remote
Number next to Changes
Changes (15) โ you have 15 modified files.
Branch status
- Up to date โ everything is current
- Publish branch โ branch is local only
- Pull 3 โ need to pull 3 commits
Visual Cues
File colors
- ๐ข Green โ new file
- ๐ก Yellow โ modified file
- ๐ด Red โ deleted file
- โช Gray โ ignored (.gitignore)
Branch icons
- โ with checkmark โ branch is on GitHub
- without checkmark โ local only
Setting Up an External Editor
- File โ Options (Windows) / Preferences (Mac)
- Integrations โ External Editor
- Choose from the list:
- Visual Studio Code
- Atom
- Sublime Text
- VS Code Insiders
- And others
Now Repository โ Open in Editor will launch the chosen editor!
Tips for Beginners
โ
Fetch often โ check for updates
โ
Make small commits โ easier to understand the history
โ
Write clear Summaries โ you’ll thank yourself later
โ
Use branches โ don’t be afraid to experiment
โ
Review the Diff โ understand what you’re committing
Practice is the best teacher! Open projects and experiment! ๐
๐ฌ Comments (0)
No comments yet
Be the first to share your opinion about this article!