mobile menu trigger, icon

Category: Git

Git is one of the most popular version control systems in the world. It helps you to keep track of changes to your project.


Git branch: create, checkout, merge, list, command, delete & push

Git and tree branches

In this post, I will show & explain everything you need to know about Git branches. You will learn how to create a new branch, switch to it or checkout to a branch, merge a branch to master, delete a branch, etc. If Git is not installed on your machine, see how to do it (both in Windows & Mac). Let’s get started. Everything you need to know about the Git branches When you initiate Git, the master branch is automatically created. Also, in your command line, you will automatically point to this master branch just after initiating Git. Thinks […]

Read More →

How to create a Git repository on GitHub?

Create a Git Repository on GitHub

To create a Git repository on GitHub, go to github.com and signup for an account. It’s free. After you’re logged in to your account, navigate to the “Repositories” tab by following this URL: https://github.com/your_username?tab=repositories and click the button “New” (as you see in the screenshot below). In the next window, type your desired repository name in the “Repository name” field. Make sure it’s unique and there is no space. And make this name exactly as you named the project on your local machine (computer). You can leave the rest of the fields as they are. All the default options are […]

Read More →

How to install Git on Windows & Mac?

Install Git on Windows & Mac

To use Git and remote servers like GitHub, Bitbucket, etc, your first instinct should be to ensure that Git is installed on your machine/computer. Mac generally comes with Git preinstalled. On a Windows computer, you have to install it. How to install Git on Windows? To install Git on your Windows computer, go to git-scm.com and download it. After downloading install it. The installation process is the same as other general software. During the installation process, click on “Next” as many times as it comes. Any default options are fine. After installing it, go to the “Start” menu and you […]

Read More →

How to use Git and GitHub?

Git and GitHub

This post is a beginner’s guide to using Git. You’ll learn how to use Git on your local machine, and how to push your project to a live Git hosting server like GitHub, Bitbucket, etc. Git and GitHub are not equal. Git is a version control system. On the other hand, GitHub is one of many hosting services. See the main differences between Git & GitHub. GitHub is the most popular, and some of the similar & other companies are Bitbucket, GitLab, etc. See some of the GitHub alternatives on another website. How to use Git? To use Git, you […]

Read More →

What is Git and why it is used?

Git

Git is the most popular version control system in the world. But this definition may not make sense to all of you. To better understand it, you have to know the following 3 primary things: What does Git do? Git helps us to manage our project files. And a project could be anything such as website design, development, mobile app development, and anything that is related to programming. But what does Git do that makes it easier to manage our project files? Well, three main aspects help us manage our project files more easily. Git history: It simply means that […]

Read More →