Allow to use the commit script in sparse checkouts
Changes introduced
Allow commit script to recognise when user has done a sparse checkout and use git add --sparse
instead of git add
Tests
Basic checks on my laptop show that the command works and that the file is recognised
Issues resolved
Closes #