A much better solution that I have learnt from Svelte is npx degit
. I am not sure of a pure Git solution. (i.e. clone last commit only, at the chosen branch, commit or tag.)
Read next

Building a React Movie Application.
Tk-brainCodes -

JavaScript Design Patterns - Chapter 1
Codespresso -

Build a REALTIME CHAT APP in 5 MIN with React and Firebase
Grégory D'Angelo -

10 Coding Challenge Websites For Developer
haycuoilennao19 -
Discussion