What is Git &GitHub and using it
What is Git? Git is a distributed version control system that: Tracks changes in your code/files over time Enables collaboration between developers Allows branching/merging of code Maintains a full history of all changes Key Git Concepts Repository : A project folder tracked by Git Commit: A saved snapshot of your changes Branch: Parallel version of your code Merge: Combining changes from different branches Clone: Copying a repository to your local machine What is GitHub GitHub is a cloud-based hosting service for Git repositories that adds. Web interface for repositories Pull requests and code review tools Issue tracking and project management Free public repositories (private repos require paid plan) Getting Started with Git: Install Git # Linux (Debian/Ubuntu) sudo apt install git # Mac (Homebrew) brew install git # Windows Download from https://git-scm.com/ Basic Git Commands # Initialize a new repository git init # Check status of files git status # Add fil...