Step 1: install & configure go:
The installation of go should proceed as shown in official golang installation guide https://golang.org/doc/install . In order to run the node, minimum golang version should be 1.12.4.
Step 2: clone the repository and build the binaries:
The main branch that will be used is the master branch. Alternatively, an older release tag can be used.
mkdir -p $HOME/src/github.com/ElrondNetwork
cd $HOME/src/github.com/ElrondNetwork
git clone https://github.com/ElrondNetwork/elrond-go
cd elrond-go && git checkout tags/v1.0.20
git pull
GO