Best practices for code reviews
Pull requests are a great way to collaborate on any kind of code. This chapter only scratches the surface of the possibilities you have for your collaboration workflow, but to get your teams to effectively collaborate, you should consider some best practices for effective code reviews.
Teach Git
This one might look obvious, but make sure your teams are well trained in Git. Well-crafted commits with a good commit message that only serve one purpose are much easier to review than many changes spread randomly across multiple commits. In particular, mixing refactoring and business logic makes reviews a nightmare. If team members know how to fix up commits, patch changes they made in different commits, and how to craft good commit messages, the resulting pull request will be much easier to review.
Link pull request to issue
Link the pull request to the corresponding issue that initiated the work. This helps to give context to the pull request...