GO:
Installing GO:
Download Go from: https://golang.org/dl/
Extract the File:
sudo tar -C /usr/local -xzf go1.12.7.linux-amd64.tar.gz
Add the path to profile or bashrc:
sudo vi /etc/profile
Add the below lines to the file :
export GOPATH=/usr/local/go export PATH=$PATH:$GOPATH/bin

Apply new changes:
source ~/.bashrc #or source /etc/profile
GitRob:
Edit bashrc add below lines:
export GOPATH=/usr/local/gitrob
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
/usr/local/gitrob will be the directory were gitrob will be installed.
If running as non-root:
go have to create the folder ‘gitrob’ so we have to set permission or change ownership
Its always safe to give ownership to a user than changing file permission
Note: change owner back using ‘sudo chown -R root:root /usr/local‘
sudo chown -R praveen:root /usr/local
Install gitrob:
go get github.com/michenriksen/gitrob
Running Gitrob scan:
Git rob requires access token
To create access token, goto Git hub and click your avatar. Then navigate to
settings> Developer settings>Personal access tokens

Run the scan:
gitrob -github-access-token <access_token> <ur_username>
Navigate to : http://localhost:9393/

Note: You can directly download the pre-compiled file and just add it to PATH instead of installing from source.