Index Getting Started 1-1 What is Git? 1-2 Snapshots, Not Differences 1-3 The Three States 1-4 First-Time Git Setup Git Basics 2-1 Getting a Git Repository 2-1-1 Initializing a Repository in an Existing Directory 2-1-2 Cloning an Existing Repository 2-2 Recording Changes to the Repository 2-2-1 Checking the Status of Your Files 2-2-2 Tracking New Files 2-2-3 Staging Modified Files 2-2-4 Committing Your Changes 2-3 Viewing the Commit History 2-4 Undoing Things 2-5 Working with Remotes 2-5-1 Showing Your Remotes 2-5-2 Adding Remote Repositories 2-5-3 Fetching and Pulling from Your Remotes 2-5-4 Pushing to Your Remotes Git Branching 3-1 Branches in a Nutshell 3-2 Creating a New Branch 3-3 Switching Branches 3-4 Basic Branching and Merging 3-4-1 Basic Branching 3-4-2 Basic Merging For Source Reference Click Here