I'm guessing you didn't run this command after the commit failed so just actually run this to create the remote :
git remote add origin https://github.com/VijayNew/NewExample.git
And the commit failed because you need to git add
some files you want to track.