Importing Git projects using the command line is suitable when your existing code is hosted on a private network.
Putting your existing work on GitHub AE can let you share and collaborate in lots of great ways.
You can use external tools to move your projects to GitHub.
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Or, learn how to contribute.