DEV Community

Cover image for Introduction to Git & GitHub
Atharva Chandwadkar
Atharva Chandwadkar

Posted on

Introduction to Git & GitHub

I am glad that you are working on a major project to the blog of Git & GitHub beginner? You work with a team? Or are you seeking for an open source start? You're in the proper position.
This blog helps you get the fundamentals started. If you want to use Git & GitHub like an expert there are a lot of things you need to learn.
Let's begin!

What is Git and GitHub?

Git is a version control facility designed primarily for developers and designers, GitHub is a special site for hosting code, which is presently the most popular and is a platform where different available code and methods are played and experimented with. It is home to open source and emerging technologies projects. You may develop simple code for others to refer to, or for your work, features and designs. You can also collect a chunk of your code and add functionality or repair issues for your project. You don't have to be a master programmer to learn Git & GitHub. First things you need to get to know your terminal first, because Git is a strong device,
Allow some Git commands to pass
git clone
git status
git add
git commit -m “ “
git push

That's it, those are the big ones; if you've tried them, you're good to go.

Let us now discuss,
git init
git branch
git merge
git checkout

You may be working with others, and you may wish to review and test their code before committing it; the commands listed above are what you need for collaboration.
The first step is to Sign up for an account at href>GitHub, and don't forget to download and install the most recent stable release of Git href>.
Now you can go to your terminal and tell Git who you are.
To create a username for every git repository type
git config --global user.name ""
replace “”with your name , Any name that you like is free to use

Now you may tell Git your email address, but make sure it's the same one you used to create your GitHub account.
git config --global user.email ""

Now you’re ready to start using Git on your computer!

Top comments (0)