`go get` private repositories

How do you enable using go get with private repositories? Or git clone for that matter?

I’m sure this question has probably been asked.

I think I might have read that if I ticked private repository that should do the trick. But I’m getting a failure on my vendor step (I am using govendor).