Git and Github

Git and Github

In this article we will learn about Git and Github. You can use organizations for free, with GitHub Free, which includes limited features on private repositories.

What is Git?

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is software that runs locally.

What is GitHub?

GitHub is a cloud-based hosting service that lets you manage Git repositories.

create a new repository on the command line

  • git init
  • git add .
  • git commit -m “first commit”
  • git branch -M main
  • git remote add origin https://…….
  • git push -u origin main

push an existing repository from the command line

  • git remote add origin https://…..
  • git branch -M main
  • git push -u origin main

I hope you like this article.

Also Read :