1. 12
  1.  

    1. 5

      Please consider being very careful when doing this.

      What if you are being built by a distribution, or other build source that doesn’t git clone?

      Use option 2 never option 1, and document it so others know how to do it, no matter how many abstractions you add around your build (shell scripts calling makefiles triggering other scripts).