Read and Read and found the solution regarding cannot upgrade to 2.4.0
git reset --hard; git clean -df;
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
S