@groostav for junior devs i would enforce a review system. don't let them push to master, let them just create pull/merge requests and review everything. make detailed comments there what he can do better so that you can accept the request. if he needs help pair program with him 🙂