How to push an existing app to Github?

I am trying to figure out how to push an existing Mendix app to GitHub. I have been searching for this information and have not found anything concrete enough.
1 answers

Usually any folder with code inside can be pushed to github or other Online Repository management services!

Go inside your mendix apps root folder, do the below

  1. Install GIT tools as per the documentation here :
  2. open the folder in terminal or any other command prompt
  3. type git init (will initialize the git repo)
  4. type git add .
  5. type git commit -m “good description about your code”
  6. type git push --set-upstream origin <current branch name>