0:00:00.221,0:00:01.984 Forking is the safe foundation 0:00:01.984,0:00:03.998 to contributing to any[br]open source project. 0:00:04.218,0:00:07.078 ♪ (soft music) ♪ 0:00:09.798,0:00:13.495 Welcome to another episode[br]of Git and GitHub Foundations on forking. 0:00:13.495,0:00:16.291 Forking is the act of taking[br]your repository and copying it 0:00:16.291,0:00:17.580 under your own account. 0:00:17.580,0:00:20.635 Now this act of copying[br]allows you to safely make changes 0:00:20.635,0:00:22.196 essentially in a sandbox. 0:00:22.196,0:00:24.982 This works both on the open source model 0:00:24.982,0:00:27.609 as well as an open company model, 0:00:27.609,0:00:29.427 greatly expanding the number of employees 0:00:29.427,0:00:31.122 that contribute to a project. 0:00:31.122,0:00:33.397 When we see a project[br]that we'd like to contribute to, 0:00:33.397,0:00:36.472 we click the Fork button to make a copy[br]of that into our own account 0:00:36.472,0:00:38.217 and then begin to make our own changes. 0:00:38.721,0:00:40.963 The appropriate step[br]is to create a branch 0:00:40.963,0:00:42.652 on that forked copy 0:00:42.652,0:00:45.207 so that there's a name,[br]label and container 0:00:45.207,0:00:47.631 for the potential contribution[br]that we'll later make 0:00:47.631,0:00:49.208 to the original repo. 0:00:49.568,0:00:52.375 Once this is under your account[br]there's some metadata there 0:00:52.375,0:00:55.082 that shows who owns[br]the original copy of this project, 0:00:55.082,0:00:58.474 and you can also see who else[br]has maybe forked this project as well. 0:00:58.819,0:01:02.742 The network graph supplements that[br]with metadata down to the commit level 0:01:02.742,0:01:05.906 seeing what work people are doing[br]in the repositories. 0:01:08.066,0:01:09.718 All of this is a preparatory step 0:01:09.718,0:01:12.900 for offering your changes back[br]to the original project owner 0:01:12.900,0:01:15.192 through the mechanism[br]of a Pull Request. 0:01:17.642,0:01:21.059 Thanks for watching another episode[br]of Git and GitHub Foundations on forking. 0:01:21.059,0:01:23.935 As always, don't forget to click[br]subscribe over on the side, 0:01:24.377,0:01:27.612 or leave us questions[br]or comments down below, 0:01:27.612,0:01:29.663 or see some of these other[br]educational videos 0:01:29.663,0:01:31.992 especially the one on Pull Requests. 0:01:32.760,0:01:35.785 ♪ (soft music) ♪