Skip to content

Instantly share code, notes, and snippets.

@gwenf
Last active June 5, 2026 21:32
Show Gist options
  • Select an option

  • Save gwenf/19e5748a5391929e8e938a22c8a4b3f2 to your computer and use it in GitHub Desktop.

Select an option

Save gwenf/19e5748a5391929e8e938a22c8a4b3f2 to your computer and use it in GitHub Desktop.
  • repo -> repository

  • clone -> bring a repo down from the internet (remote repository like Github) to your local machine

  • add -> track your files and changes with Git

  • commit -> save your changes into Git

  • push -> push your changes to your remote repo on Github (or another website)

  • pull -> pull changes down from the remote repo to your local machine

  • status -> check to see which files are being tracked or need to be commited

  • init -> use this command inside of your project to turn it into a Git repository and start using Git with that codebase

@kanwal049

Copy link
Copy Markdown

thanks

@rajendrapalled

Copy link
Copy Markdown

Super helpful. Thanks

@Sreejith-Jinachandran

Copy link
Copy Markdown

Thanks

@AhmedZaherElloumi54

Copy link
Copy Markdown

thank you

@REp007

REp007 commented Jul 20, 2023

Copy link
Copy Markdown

Very helpful

@Nailer

Nailer commented Aug 4, 2023

Copy link
Copy Markdown

are these commands different in windows

@MohamedSerag20

Copy link
Copy Markdown

are these commands different in windows

No, they are the same.

@VolaSoft

VolaSoft commented Sep 2, 2023

Copy link
Copy Markdown

Very helpful. Thank you

@BHAVISHYA2005

Copy link
Copy Markdown

amazing thanks teacher

@ShaYn541

ShaYn541 commented Oct 5, 2023

Copy link
Copy Markdown

error: src refspec master does not match any
error: failed to push some refs to 'https://github.com/ShaYn541/demo-repo.git
I'm actually coming across this after several tries can anyone help ?

ghost commented Oct 12, 2023

Copy link
Copy Markdown

guys previously I was using my VS Code for the CS50P course but now I finished it and am trying to make my own SSH Key. I followed through the steps in the video. However I keep getting "Enter PIN for authenticator". What does that mean? I tried figuring out it myself, I was told to remove the CS50P SSH Key so I did. but I keep seeing the same thing. Can someone help me please.

@sabrynocode

Copy link
Copy Markdown

i haven't tried it on windows but you coud lookup how to install vim on command prompt and then follow it from there on and also how to run ssh commands too. For one final strategy try installing git bash and running the commands there.

idk but it says bash: -vim: command not found
this is so much frustrating there is too much things that does not make sense to me im just copy pasting everything this is no good

@SankarSubbu

Copy link
Copy Markdown

thank you

@Argho2016

Copy link
Copy Markdown

Thank You

@DNA-121102

Copy link
Copy Markdown

Thanks

@oaris-dev

Copy link
Copy Markdown

Hey, in your "Learn Git ..." tutorial on the freeCodeCamp YouTube channel, you showed information about the branches appearing in the VS Code terminal. This looks really useful! Is this an extension or a configuration change? I tried looking it up but couldn't find this setup. Does anyone know how to set this up?

@BHAVISHYA2005

Copy link
Copy Markdown

Hey, in your "Learn Git ..." tutorial on the freeCodeCamp YouTube channel, you showed information about the branches appearing in the VS Code terminal. This looks really useful! Is this an extension or a configuration change? I tried looking it up but couldn't find this setup. Does anyone know how to set this up?

Hey that thing is known as git graph

@vinaye009

Copy link
Copy Markdown

hope will work on windows too...

@oaris-dev

Copy link
Copy Markdown

Hey, in your "Learn Git ..." tutorial on the freeCodeCamp YouTube channel, you showed information about the branches appearing in the VS Code terminal. This looks really useful! Is this an extension or a configuration change? I tried looking it up but couldn't find this setup. Does anyone know how to set this up?

Hey that thing is known as git graph

Hey, thanks! I finally found out what it is. It’s ohmyzsh with a theme. It's super cool and useful to know the branch you are working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment