fatal: bad default revision ‘HEAD’ February 10, 2023 by Tarik just do an initial commit and the error will go away: git commit -m "initial commit"