Table of Contents

Git Basics

Clarification

GitGitHub

There are many Git repository hosting services, and GitHub wasn't even the first. Some popular alternatives are GitLab and Bitbucket. But there are many others. Also, Git is not the only VCS in use today. It was originally created independently of any company to support the development of the Linux operating system. It was later adopted by a number of developers of open-source software for their projects before eventually becoming the de-facto standard VCS it is today for both open-source and proprietary projects.

Basic operations

Use the git rm and git mv commands to delete and move/rename files instead of the standard tools in your operating system. Doing so will simplify staging.

Branching and merging

The new git switch command is an alternative to some git branch operations. However, as of this writing, it is still experimental.

Ignoring files

The file name must be .gitignore, not .gitignore.txt or gitignore.txt. To create a .gitignore file in Windows, open the Git Bash shell in the directory where you want the file and enter:

touch .gitignore

GUI interface

More git stuff