---
title: "Discussion on \"Day 12 : Git and GitHub Cheatsheet\" | Hashnode"
description: "Discussion on \"Day 12 : Git and GitHub Cheatsheet\". A quick summary of all essential Git commands"
url: "https://hashnode.com/posts/day-12-git-and-github-cheatsheet/65130df58d76356bc61ec0dd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day 12 : Git and GitHub Cheatsheet](https://devab.hashnode.dev/day-12-git-and-github-cheatsheet?utm_source=hashnode&utm_medium=feed)

A quick summary of all essential Git commands

Sep 26, 2023 · 2 min read · devab.hashnode.dev  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#cheatsheet](https://hashnode.com/tag/cheatsheet)
-   [#git](https://hashnode.com/tag/git)
-   [#devops](https://hashnode.com/tag/devops)
-   [#tws](https://hashnode.com/tag/tws)

## Written by

[Abdallah Qamar](https://hashnode.com/@DevAb)

@DevAb · Thane, Maharashtra

  
[View profile](https://hashnode.com/@DevAb)

DevOps ♾ | Cloud ☁ | Jenkins | AWS | Docker | Kubernetes | Ansible | Terraform |

A DevOps Engineer ♾ with a passion for learning and improving. I believe that the only limits we have are the ones we set for ourselves and I'm excited to see how far I can go with my career. With hard work and dedication, I'm confident that I can create something that really makes a difference.❤🕊

## Responses 1

Markdown supported · ⌘↵ to post

[David Carr](https://hashnode.com/@dcblogdev)

[Sep 27, 2023](https://hashnode.com/posts/day-12-git-and-github-cheatsheet/65130df58d76356bc61ec0dd/comment/651449765d5d746448ea4122)

I love `git switch -c branch-name` often I forget to checkout a branch start building a feature then realise I'm on the wrong branch.

Using

git switch will move all your changes onto a new branch, if the branch doesn't exist it will create it. Very handy!
