A beginner-friendly guide to version control on both Windows and macOS without typing terminal commands. All you need to do is click buttons!
- Part 1: Setup & Platform Installation (Windows & macOS)
- Part 2: Creating a Repository
- Part 3: Saving Changes (Daily Workflow)
- Part 4: Syncing & Pulling Updates
- Part 5: Browsing History & Reverting
- Daily 4-Step Summary
- Keyboard Shortcuts: Windows vs macOS
- Pro-Tips for Beginners
- Open your browser and navigate to github.com.
- Click Sign up and fill in your email, password, and chosen username.
- Verify your email address.
- Navigate to desktop.github.com and click Download for Windows (64-bit).
- Run
GitHubDesktopSetup.exe. - The app will install automatically and add shortcuts to your desktop and Start Menu.
- File Explorer Integration: You can right-click any project folder in Windows File Explorer and choose Open in GitHub Desktop.
- Navigate to desktop.github.com and click Download for macOS.
- Unzip
GitHubDesktop-universal.zipand drag GitHub Desktop.app into your/Applicationsfolder. - Open GitHub Desktop from Launchpad or Spotlight (
Cmd + Space). If prompted with a macOS security dialog ("Downloaded from the Internet"), click Open. - Finder Integration: Easily drag project folders directly onto the GitHub Desktop window to open them.
- Click Sign in to GitHub.com.
- Your web browser will open requesting authorization. Click Authorize desktop.
- Configure your Git Author info:
- On Windows: Go to File → Options → Git.
- On macOS: Go to GitHub Desktop → Settings... → Git (or press
Cmd + ,). - Enter your Name and Email (use the same email registered with your GitHub account).
A Repository (or repo) is a folder where Git monitors and tracks the history of all files.
- Navigate to:
- Windows: File → New Repository... (
Ctrl + N) - macOS: File → New Repository... (
Cmd + N)
- Windows: File → New Repository... (
- Fill out the dialog:
- Name: Your project name (e.g.
my-awesome-project). - Local Path:
- Windows: e.g.
C:\Users\YourName\Documents\GitHub - macOS: e.g.
/Users/YourName/Documents/GitHub
- Windows: e.g.
- (Optional) Check Initialize this repository with a README.
- Name: Your project name (e.g.
- Click Create Repository.
- Click the Publish repository button in the top toolbar to back up your repository to GitHub.com.
- Click File → Add Local Repository... (
Ctrl + Oon Windows /Cmd + Oon macOS). - Choose your existing project folder.
- If GitHub Desktop alerts you that "This directory does not appear to be a Git repository", click create a repository to initialize it.
- Click Publish repository to sync it to the cloud.
Tip
If you want your code to remain private, ensure the Keep this code private checkbox is checked when publishing.
Whenever you make progress on your project (writing code, designing 3D assets, updating documents), follow this save cycle:
Work normally in your favorite tools (Visual Studio Code, Unity, Blender, Photoshop, Word, etc.). Save files as usual.
- Switch to GitHub Desktop.
- In the left sidebar under the Changes tab, you will see a list of modified, added, or deleted files.
- Select or deselect checkboxes to pick which files to include (default is all).
- In the bottom-left corner, enter a short, descriptive summary in the title field:
- Good examples:
Add Level 2 map,Fix player jump physics,Update header navigation.
- Good examples:
- Click the green button: Commit to main.
- Click the Push origin button in the top toolbar.
Note
Commit saves a version locally on your machine. Push sends that version to GitHub so your team can access it and your work is safely backed up in the cloud.
When collaborating with team members who also push changes, you should update your local copy before starting work:
- Open GitHub Desktop and click Fetch origin in the top bar.
- If new commits exist on GitHub, the button will change to Pull origin.
- Click Pull origin to download and merge the latest work.
Important
Golden Rule of Collaboration:
- Before you start working: Click Pull to grab the latest code.
- After you finish working: Commit and then Push.
- Click the History tab (next to Changes).
- You will see a chronological log of all commits created by you and your teammates.
- Click any commit to see exactly which lines were added (
+green) or removed (-red). - To undo an older commit: Right-click on it and select Revert this commit (this creates a new commit that safely reverses those changes).
Memorize these four steps for your daily routine:
- Pull — Fetch the latest updates from your team.
- Work — Modify files, write code, and build your project.
- Commit — Check changed files, type a descriptive message, and commit.
- Push — Upload your commits to GitHub.
Speed up your GitHub Desktop workflow with native shortcuts:
| Action | Windows Shortcut | macOS Shortcut |
|---|---|---|
| New Repository | Ctrl + N |
Cmd + N |
| Add Local Repository | Ctrl + O |
Cmd + O |
| Clone Repository | Ctrl + Shift + O |
Cmd + Shift + O |
| Push / Pull (Fetch) | Ctrl + P |
Cmd + P |
| Open in External Editor | Ctrl + Shift + A |
Cmd + Shift + A |
| Show in File Explorer / Finder | Ctrl + Shift + F |
Cmd + Shift + F |
| Preferences / Settings | Ctrl + , |
Cmd + , |
- Quickly inspect files: Right-click any file in the Changes list and choose Show in Explorer (Windows) or Reveal in Finder (macOS) to locate it on your disk.
- Write clear commit summaries: A message like
Fix login validation errorhelps future-you much more thanUpdate fileorasdasd. - Commit frequently: Don't wait until Friday afternoon to commit a whole week's work. Make small, focused commits often.
- Handling Large files: Video files, 3D assets, and huge game assets over 100MB should be tracked via Git LFS (Large File Storage). GitHub Desktop will alert you if an asset exceeds size limits.