Posts

Showing posts from October, 2023

Version Control Basics

Image
Version Control Basics Git is a version control system that allows its users to see code changes made over time and thus creates a way for multiple users to collaborate on code whereas GitHub is cloud-based coding platform for git. To get started with git, it is necessary to install it on your Linux machine which can be done via the Linux command line terminal. The command below installs git. sudo apt install git -y We'll also need to configure git by adding our credentials which can be done with git config --global user.name " YOUR-NAME " git config --global user.email " YOUR-EMAIL " To verify that you have properly entered the latter, the following command can be used: git config --global --list Some fundamentals of Git are: Creating a repository - Commit - Cloning a repository Creating a repository We'll need to create a folder to house that repository, which can be done using the mkdir command: mkdir ~/  A-LOCAL-REPOSITORY-NAME We are now going to initia