[All] Add GIT_REF option for external plugins (#4448)* Add option git_ref to specify which branch to checkout* forgot about the projects