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!