Added release task. Added precommit hook.
checks branch before releasing