Here are commonly used Git Bash terminal shortcuts to speed up your workflow:

2 min read

Here are commonly used Git Bash terminal shortcuts to speed up your workflow:
🔹 Navigation & Editing
Shortcut | Description |
Ctrl + A | Move cursor to beginning of the line |
Ctrl + E | Move cursor to end of the line |
Ctrl + U | Delete from cursor to beginning of line |
Ctrl + K | Delete from cursor to end of line |
Ctrl + W | Delete word before the cursor |
Ctrl + Y | Paste text previously cut (yank) |
Ctrl + L | Clear the terminal (like clear ) |
Ctrl + C | Cancel current command |
Ctrl + D | Exit the shell (EOF) |
🔹 Command History
Shortcut | Description |
↑ / ↓ (Arrow Keys) | Scroll through previous/next commands |
Ctrl + R | Search command history (reverse search) |
!! | Repeat last command |
!<command> | Run last command starting with <command> |
🔹 Auto-completion
Shortcut | Description |
Tab | Auto-complete file/command |
Tab Tab | Show all possible completions |
🔹 Other Useful Shortcuts
Shortcut | Description |
Ctrl + Z | Suspend current job (use fg to resume) |
Ctrl + T | Swap last two characters before cursor |
Alt + . | Use last argument from previous command |
Let me know if you want Git-specific shortcuts or custom aliases too.
0
Subscribe to my newsletter
Read articles from Aditya Patil directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Aditya Patil
Aditya Patil
Hi, I'm Aditya — a Cloud & DevOps Engineer passionate about automating everything from CI/CD pipelines to multi-cloud infrastructure. I specialize in AWS, Kubernetes, Terraform, and GitOps tools like Argo CD. I’ve helped teams scale applications, cut cloud costs by 90%, and build disaster-ready infra. I love sharing real-world DevOps lessons, cloud cost optimization tips, and infrastructure design patterns. Let’s connect and simplify the cloud — one YAML file at a time ☁️⚙️