Yes, it's called rebasing. You can read about it here: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/#rebasing-branches