First time using Github

How to use Github.com for the first time, make a repository and upload your project to github using the terminal in Linux Ubuntu-16.04.