After the holiday I would like to continue working on my open ticket. I already started working on a feature ("feature/my-new-feature") locally before the holiday. After one week my colleagues have already merged their features into the master. Since I want to avoid later merge conflicts, I want to update my feature branch. However, I am unsure which update strategy to use. Two approaches are going through my mind.
1.
git checkout master
git pull
git checkout feature/my-new-feature
git merge master
2.
git pull origin/master
Probably both strategies work. Are there advantages and disadvantages to both ways that should be considered?