Precommit hook to check for friday and warn you from committing yet the worst mistake of your life. Checks the current day of the week for friday and denies commit with an appropriate error message on match; lets you carry on with your business otherwise.
To know more about how githooks work I'd suggest taking a look at https://githooks.com/