Install & setup GIT

This document will help you to install and configure the GIT code version manager.

It will help you to deploy your masternodes more easily and quickly using BITGEN code repositories.

Summary of the tutorial

Prerequisite

Before starting this tutorial, please carefully read the following prerequisites :

1. Installation

Connect in SSH to the server.

Then let’s start by updating our server :

    > sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get autoremove

Then install the necessary package for GIT :

    > sudo apt-get -y install git

2. Configuration

The following commands will inform GIT about the user who will manage the code repositories

    > git config --global user.name "Maintainer BITGEN"
    > git config --global user.email tuto@bitgen.com