The pre-commit usage currently the best practice is using tags as revision rather than branches.
This helps us to use the previous version of the code base as well.
Can this project be tagged with the current code base by using semantic version format and can be taken further whenever a change is merged to master and have to be released