GitHub Desktop is a graphical client for working with Git. Instead of terminal commands, you work through a convenient interface with buttons and menus.
Why Use GitHub Desktop?
Advantages:
✅ No need to memorize Git commands
✅ Visual interface for commits and branches
✅ Built-in conflict editor
✅ Works on Windows and Mac
✅ Free and open source
When to use it:
- You’re new to Git
- You prefer a GUI over the terminal
- You work with GitHub repositories
- You need a fast workflow for simple tasks
Step 1: Download
Windows and macOS
- Open in your browser: https://desktop.github.com
- Click Download for Windows or Download for macOS
- Wait for the download (usually 100-150 MB)
Linux
GitHub Desktop doesn’t officially support Linux, but there’s a community version!
Install via Snap:
sudo snap install github-desktop --classic
Or download from GitHub:
https://github.com/shiftkey/desktop
Step 2: Install
Windows
- Open the downloaded
GitHubDesktopSetup.exe - The program will install automatically
- GitHub Desktop will launch
macOS
- Open the downloaded
GitHubDesktop.zip - Drag
GitHub Desktop.appinto the Applications folder - Launch from Launchpad or Spotlight
Linux (Snap)
After the snap install command the app is ready:
# Launch
github-desktop
Step 3: First Launch and Authorization
On first launch GitHub Desktop will ask you to:
3.1 Sign in to GitHub
- Click Sign in to GitHub.com
- A browser will open
- Allow GitHub Desktop access to your account
- Return to the app
No account? Create one at github.com/signup
3.2 Configure Git
GitHub Desktop will ask you to set your name and email for commits:
Name: John Smith
Email: john@example.com
Important:
- Name can be anything
- Email should match the one on GitHub
Step 4: Exploring the Interface
Main window
┌─────────────────────────────────────┐
│ Current Repository ▼ Branch ▼ │ ← Top panel
├─────────────────────────────────────┤
│ Changes (3) │ History │ ← Tabs
├──────────────┼──────────────────────┤
│ ✓ file1.py │ Apr 10 - Add tests │
│ ✓ file2.js │ Apr 9 - Fix bug │
│ ✓ README.md │ Apr 8 - Init │
│ │ │
│ Commit to main │ ← Commit button
└─────────────────────────────────────┘
Main elements
1. Current Repository
- Shows the active repository
- Click to open the list of all repositories
2. Current Branch
- Shows the current branch
- Click to switch to another branch
3. Changes
- List of modified files
- Select what to commit here
4. History
- List of all commits
- See what was changed
5. Summary and Description
- Fields for the commit message
- Summary — short description
- Description — details (optional)
Step 5: Creating Your First Repository
Option 1: New repository
- File → New Repository
- Fill in the fields:
- Name: my-first-repo
- Description: My first repository
- Local Path: where to save
- ✅ Initialize with README - Click Create Repository
Option 2: Clone an existing one
- File → Clone Repository
- Choose a repository from the list (your repos on GitHub)
- Or paste a URL
- Choose a folder
- Click Clone
Option 3: Add a local project
- File → Add Local Repository
- Select the project folder
- If it’s not a Git repository, it will offer to initialize one
Step 6: First Commit
Let’s try making a change:
- Open the repository folder in your file explorer
- Create a file
test.txtwith the text “Hello GitHub Desktop” - Return to GitHub Desktop
You’ll see:
- test.txt appears in the Changes panel on the left
- A checkbox next to the file (it will be included in the commit)
- On the right — the contents of the change
Make the commit:
- In the Summary field type:
Add test.txt - (Optional) In Description:
My first commit - Click Commit to main
🎉 Congratulations! You made your first commit!
Step 7: Publish to GitHub
To make your repository appear on GitHub:
- Click Publish repository (top right)
- Check the settings:
- Name: leave as is
- Description: optional
- Keep this code private: uncheck for a public repository - Click Publish Repository
In a few seconds your code will be on GitHub!
Useful Keyboard Shortcuts
Windows:
- Ctrl+1 — show Changes
- Ctrl+2 — show History
- Ctrl+Enter — make a commit
- Ctrl+P — Push to origin
- Ctrl+Shift+P — Pull from origin
macOS:
- Cmd+1 — show Changes
- Cmd+2 — show History
- Cmd+Enter — make a commit
- Cmd+P — Push to origin
- Cmd+Shift+P — Pull from origin
Frequently Asked Questions
❓ Do I need to install Git separately?
No! GitHub Desktop includes Git inside.
❓ Can I use it with GitLab/Bitbucket?
Yes! GitHub Desktop works with any Git repositories, not just GitHub.
❓ How do I update GitHub Desktop?
The app updates automatically. If it doesn’t:
- Help → Check for Updates
❓ Where are repositories stored?
By default:
- Windows: C:\Users\NAME\Documents\GitHub\
- macOS: /Users/NAME/Documents/GitHub/
- Linux: ~/Documents/GitHub/
What’s Next?
Now you’re ready to:
- ✅ Make commits
- ✅ Create branches
- ✅ Publish code to GitHub
- ✅ Clone repositories
Check out our Git & GitHub Desktop course for hands-on practice! 🚀
💬 Comments (0)
No comments yet
Be the first to share your opinion about this article!