Accounts
A person, an organization, an enterprise
A personal account is you. An organization is shared. An enterprise groups organizations.
GitHub has three kinds of account. A personal account is one person's identity. You need only one, and every commit, comment and review you make is recorded under it. An organization is a shared account. Its repositories belong to the organization, not to any one person, and people join it as members with their personal accounts. An enterprise sits above. It groups several organizations under one set of policies and one bill.
Accounts · Going deeper
Plans, and who owns what
Free, Pro, Team and Enterprise.
GitHub Flow
Branch, commit, pull request, review, merge, delete
GitHub Flow: six steps, and main is always deployable.
GitHub Flow is the workflow the exam expects you to know by heart. Create a branch from main, with a descriptive name. Make your changes there, and commit them. Open a pull request. This asks others to look at your branch, and review begins. Address the review comments by pushing more commits. When it is approved, merge the pull request into main. Then delete the branch. Main is ready to deploy, as always.
GitHub Flow · Going deeper
Good practice at each step
Short-lived branches, small commits, and a pull request as the gate.
Check yourself
In GitHub Flow, what comes next?
Markdown
Plain text with marks that GitHub formats
Markdown formats READMEs, issues and comments. Task lists, @mentions and #references are GitHub extras.
Everything you write on GitHub is written in Markdown. On the left is what you type: plain text with a few marks. On the right is what GitHub shows. A hash sign makes a heading. Two asterisks make bold. A dash with square brackets makes a checkbox. And GitHub adds two things of its own. A hash and a number links to that issue, and the word closes will close it when this is merged. An at sign and a name notifies that person.
Markdown · Going deeper
Markdown syntax
Headings, lists, links, code, quotes and tables.
Desktop and Mobile
Four ways in to the same repositories
GitHub Desktop is Git by clicking. GitHub Mobile keeps reviews moving from a phone.
There are four ways to work with GitHub. The website does everything, and it is the only place for most settings. GitHub Desktop is an app for your computer. It lets you commit, branch and push by clicking, with no commands to remember. GitHub Mobile is an app for your phone. Use it to read notifications, review and merge pull requests, and reply, when you are away from your desk. And the command line gives full control, and is what scripts use.
Desktop and Mobile · Going deeper
Which tool, when
Desktop for visual Git, Mobile for responding, the web for everything.
Check yourself
How does GitHub show this line in an issue?
Enterprise options
Enterprise: hosted by GitHub, or by you
Enterprise Cloud is hosted by GitHub. Enterprise Server runs on your own servers.
Large companies use GitHub Enterprise, and it comes two ways. Enterprise Cloud is hosted by GitHub. They run it, update it and keep it available. It offers enterprise managed users, where the company owns the accounts, and it can keep your data in a chosen region. Enterprise Server is software you install and run yourself, on your own servers. Companies choose it when rules say the code must stay inside their own network.
Enterprise options · Going deeper
Clue words for accounts, Flow and Markdown
Organization, GitHub Flow, Markdown, Desktop and Mobile.
Check yourself
Which option fits this company?
Lesson complete
You finished “Accounts, GitHub Flow and Markdown”
Answer the questions along the way to see your score here.