Member-only story
Git and GitHub from Basic to Advance in 6 Hours (4th Hour)
In Hour 1, we learned how to set up Git, check its version using git --version
, initialize a repository with git init
, check the status of files using git status
, and clone repositories with git clone
.
In Hour 2, we covered essential Git commands like git add
to stage changes, git commit
to save them, git push
to upload changes to a remote repository, git pull
to fetch and merge updates, and git fetch
to check for remote updates without merging.
In Hour 3, we explored branching and merging in Git. We learned how to create a new branch and commit code, delete an existing branch, and merge branches using git merge
. Additionally, we covered git diff
to check the differences between committed and uncommitted changes.
Below is the link if you missed it.