push to dokku from a folder inside a repository
Sometimes you need to have a folder structure where the app to be deployed to dokku or heroku is not on the root. In this case you might want to use the following commands to create a branch where a given folder (
backend in our case) is at the root of the repository. You can then proceed to push this branch to dokku's (or heroku's) master.