⌘Shortcuts Hub
Categories★Favorites
⌘Shortcuts Hub

Free, fast keyboard shortcut cheat sheets for your favourite apps — Windows, macOS & Linux.

Browse categories

  • 🖥️ Operating Systems
  • 📊 Microsoft Office
  • 🔵 Google Workspace
  • 🌐 Browsers
  • 💻 Code Editors & IDEs
  • 🎨 Design & UI/UX
  • 🅰️ Adobe Creative Cloud
  • 🎬 Video Editing
  • 🧊 3D & CAD
  • 🤖 AI Applications
  • 🛠️ Developer Tools
  • ⌨️ Terminal & Shell
  • 💬 Communication
  • ✅ Productivity
  • 🗂️ Files & Utilities

© 2026 Shortcuts Hub. All shortcuts are trademarks of their respective owners.

Built static · No tracking · Works offline

Home/Developer Tools/Git
🔀

Git Shortcuts

Essential Git commands cheat sheet — staging, committing, branching, remotes and history.

21 shortcutsWindowsmacOSLinux
🔀

Git — Keyboard Shortcuts

Windows · Shortcuts Hub

Setup & Snapshot

  • Initialize a repositorygit+init
  • Clone a repositorygit clone <url>
  • Stage a filegit add <file>
  • Stage everythinggit+add+.
  • Commit staged changesgit commit -m "msg"
  • Show working tree statusgit+status

Branching & Merging

  • List branchesgit+branch
  • Create & switch branchgit switch -c <name>
  • Switch branchgit switch <name>
  • Merge a branchgit merge <name>
  • Delete a branchgit branch -d <name>

Remotes & Sync

  • Fetch from remotegit+fetch
  • Pull changesgit+pull
  • Push commitsgit+push
  • Push & set upstreamgit push -u origin <branch>

Inspect & Undo

  • View commit historygit log --oneline
  • Show changesgit+diff
  • Unstage a filegit restore --staged <file>
  • Discard local changesgit restore <file>
  • Amend last commitgit commit --amend
  • Stash changesgit+stash

Generated from shortcuts.growwithloki.com · Git cheat sheet

Related apps

🐙

GitHub Desktop

The complete GitHub Desktop keyboard shortcut reference — repositories, sync, commits, branches and navigation.

WinMac
21 shortcuts
🛠️ Developer Tools
🦫

DBeaver

The complete DBeaver keyboard shortcut reference — executing SQL, editor, navigation, results grid and data editing.

WinMacLinux
21 shortcuts
🛠️ Developer Tools
🐳

Docker Desktop

Docker cheat sheet — Docker Desktop navigation plus the essential Docker CLI commands.

WinMacLinux
12 shortcuts
🛠️ Developer Tools
😴

Insomnia

Insomnia API client keyboard shortcuts — requests, sending, navigation and environments.

WinMac
10 shortcuts
🛠️ Developer Tools
📮

Postman

The complete Postman keyboard shortcut reference — requests, sending, tabs, navigation, editor and tools.

WinMac
20 shortcuts
🛠️ Developer Tools
🦅

FileZilla

FileZilla FTP client keyboard shortcuts — connecting, transfers and navigation.

WinMacLinux
8 shortcuts
🛠️ Developer Tools