Git Add Error Error Main Does Not Have A Commit Checked Out

Git Add Error Error Main Does Not Have A Commit Checked Out