First, set your details in global config.


I’ve found this very useful. Basically it create production and hub repository on the server.


+ Create this file like a text document, without any extention

+ Upload in /home directory

+ Give executable with SSH terminal connection:

+ Run it with:

Script will ask you project name and will create projectname_hub.git and projectname folder for your project.