This repository contains materials and examples from the Git and GitHub lecture held on 19/01/2023. Explore the content to learn more about version control, collaboration, and best practices in software development.
git init
: Initialize a new Git repository.git add [file]
: Stage changes for commit.git commit -m "Commit message"
: Commit changes.git status
: Check the status of your working directory.git log
: View commit history.
git branch
: List branches.git checkout [branch_name]
: Switch to a branch.git merge [branch_name]
: Merge changes from one branch to another.
git clone [repository_url]
: Clone a repository from a URL.git remote
: Manage remote repositories.git fetch
: Fetch changes from a remote repository.git pull
: Fetch and merge changes from a remote repository.
Explore the Exercises directory for hands-on practice exercises related to Git and GitHub.
This repository is licensed under the MIT License.