I've currently configured my repository to use Rubocop for pre-commit linting by creating a pre-commit hook under ./git/hooks
However, I'd like this to be available to everyone working on my team, and hence I'd like to push these changes to Github.
How do I go about pushing the changes related to pre-commit linting onto the remote repository without committing the .git
folder?