Install the required packages for User Plane

After doing this commands :

sudo apt -y update
sudo apt -y install git gcc cmake autoconf libtool pkg-config libmnl-dev libyaml-dev
go get -u github.com/sirupsen/logrus

the last one show me this error message : 
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

package github.com/sirupsen/logrus: exit status 1

Can you help me for this please ?

We’re not sure what causes the problem. But to fix this with workaround method, you can manually install go package as below:

cd ~/go/src/github
mkdir sirupsen
cd sirupsen
git clone https://github.com/sirupsen/logrus