Menu
×
Home
JvaScript
Node.js
Next.js
Flutter
Swift
NestJS
Python
PyTorch
Sample Data
FastAPI
PostgreSQL
MySQL
MongoDB
Mongoose
SQLAlchemy
Sling
Academy
Dark Mode is ON
Home
/
DevOps
/
Git & GitHub Tutorials
Git & GitHub Tutorials
This series of tutorials provides the fundamentals about Git and GitHub.
1
Git: How to Display Images in the Readme.md File?
2
Why you must learn Git to get a developer job
3
Does a Solo Developer Need Git? Understanding Version Control for Single Dev Projects
4
How to set up Git on Windows
5
How to set up Git on Mac
6
How to Configure Git Name and Email
7
The ‘git init’ command: How to create a new Git repository
8
The ‘git status’ command: How to check the status of your Git repository
9
How to add a file to the staging area in Git
10
Git: Adding all files in the current directory to the staging area
11
How to exclude files from being tracked by Git
12
[Git] How to see and delete the .git folder
13
The Git Commit Command: Tutorial & Examples
14
Git: How to remove a file from the staging area
15
Git: How to Undo a Commit
16
Git: How to undo a ‘git add’ command (unstage files)
17
Git: How to see commit history (git log)
18
How to View, Create, and Switch Git Branches: A Complete Guide
19
What is HEAD in Git? Explained with Examples
20
Git: How to Delete and Rename Branches
21
How to switch Git branch with unstaged changes
22
Merging Git branches: A practical guide with examples
23
4 Ways to Solve Git Merge Conflicts
24
Git: How to compare different versions of a file
25
Git: How to view working tree changes with ‘git diff’
26
Git: How to compare changes between branches
27
Git: How to compare changes across commits
28
Git Stash Command: The Complete Guide
29
How to discard local changes in Git (unstage modified files)
30
How to check out an old commit in Git
31
How to re-attach HEAD to a previous Git commit
32
How to revert Git commit
33
GitHub and Remote Repositories: A Beginner’s Guide
34
Understanding the ‘git clone’ command (with examples)
35
Mastering the ‘git push’ Command (With Examples)
36
‘git pull’ and ‘git fetch’ explained (with examples)
37
Git: Pull and Merge Changes from a Remote Repository
38
Working with Remote Branches in Git: A Developer’s Guide
39
Git commands: A comprehensive cheat sheet (with examples)
40
Working with the Readme.md file in Git and GitHub
41
Git Rebasing: A Practical Guide (with Examples)
42
How to Clean Up Git History with Interactive Rebase
43
Working with Git Tags: A Complete Guide (with Examples)
44
Understanding Git Reflog: The Ultimate Guide
45
Where is the Git config file located?
46
Using ‘–amend’ option with git commit (with examples)
47
Using the ‘–force’ and ‘–force-with-lease’ options with git push
48
Using ‘git reset –hard’ to undo local changes (with examples)
49
How to instruct Git stop tracking a file that was recently added to .gitignore
50
Git: How to remove a very large file from commit history
51
How to manually edit Git history (rebase -i)
52
How to update the author of a Git commit
53
How to clone only a subdirectory from a Git repository
54
How to add an empty folder to a Git repository
55
Deleting sensitive files from Git history with BFG Repo-Cleaner
56
Git Fatal Error: ‘Refusing to Merge Unrelated Histories’
57
How to merge two Git repositories into one (not two branches)
58
Git Worktree: A Practical Guide (with Examples)
59
Git .gitignore: Excluding a folder but including a subfolder
60
Working with Git submodules: A practical guide (with examples)
61
Git Pull Error: ‘unable to update local ref’ (4 solutions)
62
Solving Git Push Error: ‘failed to push some refs’ (3 ways)
63
Git Checkout Error: ‘pathspec did not match any file(s) known to git’ (6 solutions)
64
Git: How to revert a specific file to an old version
65
How to safely change the URL of a remote Git repository
66
Git Error: ‘src refspec master does not match any’ – How to Fix (3 solutions)
67
Fixing GitHub Error: Support for password authentication was removed
68
Deleting local files from the current Git working tree
69
How to undo a Git merge (reset to pre-merge state)
70
Solving Git error – refusing to update checked out branch: refs/heads/master (4 solutions)
71
Git: How to check out a new remote branch
72
Fixing Git Error: Permission denied (publickey) – 4 solutions
73
Git: How to clone only a specific remote branch
74
Git: How to ignore file mode (chmod) changes
75
Git: How to commit and push unchanged files (to trigger some actions)
76
Git Pre-Commit Hook: A Practical Guide (with Examples)
77
Git Pre-Rebase Hook: A Practical Guide (with Examples)
78
Git Post-Checkout Hook: A Developer’s Guide (with Examples)
79
Git Post-Merge Hook: The Ultimate Guide (with Examples)
80
Git Pre-Push Hook: A Practical Guide (with Examples)
81
Git Post-Receive Hook: A Practical Guide (with Examples)
82
Git Update Hooks: The Complete Guide (with Examples)
83
How to undo ‘git rebase’ (with examples)
84
How to remove a file from Git repo but keep it locally
85
Fixing Git Error: Host Key Verification Failed (3 Solutions)
86
How to filter commits by author in Git log
87
How to filter commits by message in Git log
88
Explaining ‘git rebase –preserve-merges’ with examples
89
How to set up your own private Git server on Ubuntu
90
How to encrypt sensitive files in Git with GPG (API keys, passwords, etc.)
91
Exploring the ‘git rebase –onto’ command (with examples)
92
Understanding the ‘git rev-parse –abbrev-ref HEAD’ command (with examples)
93
Explaining the ‘git add -p’ command (with examples)
94
How to tweak Git commit timestamps (author and committer dates)
95
Git error: ‘git is not recognized as an internal or external command’
96
How to Fetch/Pull All Git Branches
97
Git cherry-picking: A detailed tutorial (with examples)
98
How to execute Git commands through SSH
99
Git: How to safely rename the current working directory
100
Git: What is .DS_Store and should you ignore it?
101
Git fatal error: The remote end hung up unexpectedly
102
How to Undo a ‘git reset –hard’ Command
103
How to undo a Git revert (reset to pre-revert state)