How to download and setup oauth2
Open terminal and run command
git clone https://github.com/golang/oauth2.git
git clone is used to create a copy or clone of oauth2 repositories.
You pass git clone a repository URL. it supports a few different network protocols and corresponding URL formats.
Also you may download zip file with oauth2 https://github.com/golang/oauth2/archive/master.zip
Or simply clone oauth2 with SSH
[email protected]:golang/oauth2.git