You can clone project repo directly using:
git clone ssh://USERNAME@YOUR-HOST:8001/YOUR-SPACE/YOUR-PROJECT-NAME
Make sure you have the proper roles and authentication set.
Got it from here.