Set remote GIT on VPS / Dedicated server

It is possible to set Remote GIT on your own server provided your hosting provider allows to install GIT on the server. If your site/application is hosted on VPS or a dedicated server then it much easier to do so. Prerequisite to set remote GIT GIT should be installed on there server If you are on VPS or dedicated server then it is likely that GIT is already installed on the server. To check if GIT is installed or not SSH to your server and try below command. [crayon-59c7ea4cde4ca774469068/] If GIT is installed then it will show the version of GIT. If not it will give an error message. If GIT is not installed then you first need to install GIT on your server. For this you may need root access to your server. If you do not have root access ask your hosting provider to install GIT for you. Once git is installed follow below steps on the server to set remote GIT Create a Directory SSH to your server (using...
Read More