The following link has a useful information about managing git branches.

https://www.atlassian.com/git/workflows#!workflow-gitflow