If you have a existing project in your server and you wanna update it then you can use this snippet.
Firstly go into your project folder:
Pull Updated Project from git:
Run Makemigrations and Migrate Commands:
At Last Restart Your Service:
None
Python Django
Nginx Python Django