Git and GitHub from Scratch | Installation, Setup, and First Steps

Опубликовано: 14 September 2026
на канале: AnruDev | Software Development
23,049
831

This video is designed for those who have never used Git or GitHub but want to get started.

I show you how to install Git, configure it, commit, create new branches, and pull requests. I also explain why it's all necessary and what it does.

I also explain how to work with Git and give a few simple tips.

Command to automatically create branches in a remote repository for new local branches:
`git config --global --add --bool push.autoSetupRemote true`
Just use it in the terminal without the quotes

TIMECODES:
0:00 Introduction
0:15 Why Git and GitHub are needed
1:56 Installing Git
3:09 Creating a GitHub repository
3:53 Downloading a GitHub repository
5:03 Authorizing in GitHub via HTTPS
5:42 The Git interface in VSCode and tips for working with Git
7:02 Making the first commit (GUI)
7:27 How to add only some lines from a file to a commit
7:50 commit message
8:05 Error: Make sure you configure your user.name and user.email in Git
8:37 Adding user.name
8:55 Adding noreply user.email to protect against Spam
10:21 Completing a commit
11:11 Why branches are needed and how to work with them
15:11 Working with git in the terminal
17:25 Uploading a commit to GitHub via git push
18:11 Review of terminal commands used
18:59 Creating a new branch git switch -c
20:07 Adding a new branch to the repository
20:49 push.autoSetupRemote for creating new branches in a remote repository
20:57 Creating a Pull Request in GitHub (git merge)
23:06 What to do with a Pull Request
24:13 Why there are TWO commits instead of one
24:49 Downloading changes from GitHub via git pull
25:24 git fetch for downloading repository updates
25:50 Summary
26:32 Practice