If you are running a large website where you will need to test new features on a seperate url before pushing them live then the following instructions are for you ;)
For this example imagine your url is apple.com and you want a development/staging site on a subdomain which is dev.apple.com
- First thing you'll want to do is go ahead and create your website in plesk and add the subdomain dev.apple.com at the same time.
- ssh into the server e.g. $ ssh username@ipaddress
- Once logged in cd into the private directory (this will be where all git repos are stored) e.g. $ cd ~/private
- Create the main repo e.g. $ git init --bare apple.git