title: Managing Go dependencies on git
body: <p>I develop and maintain my Go project in the following directory:</p>
  
  <pre><code>PROJECT_DIR=$GOPATH/src/github.com/&lt;USERNAME&gt;/&lt;PROJECT_NAME&gt;/main.go
  PROJECT_DIR=$GOPATH/src/github.com/&lt;USERNAME&gt;/&lt;PROJECT_NAME&gt;/&lt;APP-1&gt;
  PROJECT_DIR=$GOPATH/src/github.com/&lt;USERNAME&gt;/&lt;PROJECT_NAME&gt;/&lt;APP-2&gt;
  </code></pre>
  
  <p>But this way I can only track changes in my project and I cannot track dependencies and their versions.</p>
  
  <p>I was wondering if there's an automated way of cloning all the dependencies using the version that my project is using and not the latest commit?</p>