Add article for GIT101: Git Basics video (#46246)

This commit is contained in:
Steven Palmesano
2026-05-29 05:30:26 -05:00
committed by GitHub
parent 121a6df417
commit 157adaee6c
+46
View File
@@ -0,0 +1,46 @@
# GIT101: Git Basics
<div purpose="embedded-content">
<iframe src="https://www.youtube.com/embed/ZC5FTfLtseQ?si=MIVoaPQMrDsrWMvx" allowfullscreen></iframe>
</div>
Learn the basic Git commands you need to really understand GitOps, not just use it.
High-level topics covered in this video:
- Why use Git in the first place?
- What is a repo?
- Making changes, staging files, and committing.
- How do branches work? Why use them?
- What is a pull request?
Commands covered in this video:
- `git init`
- `git add`
- `git diff` (with `--stat` and `--staged`)
- `git commit` (with `-m`)
- `git log` (with `--oneline` and `-n`)
- `git show`
- `git status`
- `git restore`
- `git rm`
- `git mv`
- This is one of the most important commands covered in the video, as this is not available in GitHub Desktop. Renaming with `git mv` works differently than renaming in Finder or with the standard `mv` command.
- `git config`
- `git push`
- `git fetch`
- `git pull`
- `git branch` (with `-a`)
- `git switch` (with `-c`)
- `git clone`
- `git checkout`
Additional resources mentioned are: the [Git manual](https://git-scm.com/docs/user-manual) and the [Pro Git book](https://git-scm.com/book/en/v2).
<meta name="category" value="guides">
<meta name="authorFullName" value="Steven Palmesano">
<meta name="authorGitHubUsername" value="spalmesano0">
<meta name="publishedOn" value="2026-05-27">
<meta name="articleTitle" value="GIT101: Git Basics">
<meta name="description" value="Learn the basic Git commands you need to really understand GitOps, not just use it.">