Return to Video

Intro to GitHub • GitHub & Git Foundations

  • 0:00 - 0:03
    Git is an excellent,
    and industry-recognized
  • 0:03 - 0:04
    version-control system.
  • 0:04 - 0:08
    GitHub.com, the website,
    makes that accessible to everyone.
  • 0:08 - 0:10
    ♪ (bossa theme music throughout) ♪
  • 0:13 - 0:16
    It's easy to think that you could
    host your Git repositories anywhere.
  • 0:17 - 0:18
    There's plenty of services,
  • 0:18 - 0:20
    and plenty of tools for you to host them,
  • 0:20 - 0:22
    even within your own corporate firewall.
  • 0:22 - 0:25
    But there's more than
    just hosting your code.
  • 0:25 - 0:27
    We're talking about changing software,
  • 0:27 - 0:31
    and that includes all types,
    and all facets of collaboration:
  • 0:31 - 0:35
    filing issues, organizing repositories
    so they're easy to find,
  • 0:36 - 0:39
    being able to mention
    the contributors by user name,
  • 0:39 - 0:42
    and the ability to have control
    over the inbound changes
  • 0:42 - 0:45
    through the concept
    that we call pull requests.
  • 0:45 - 0:48
    All of these are facilitated
    by GitHub.com,
  • 0:48 - 0:52
    a collaboration platform
    that also hosts Git repositories.
  • 0:55 - 0:56
    Your first interaction with GitHub
  • 0:56 - 0:58
    is likely through the Explore page,
  • 0:58 - 1:00
    finding a bit of open source
  • 1:00 - 1:02
    that solves a need
    in your current application.
  • 1:02 - 1:06
    But soon you'll find
    you want to file an issue,
  • 1:06 - 1:08
    or perhaps even
    submit a change to a project
  • 1:08 - 1:10
    that improves it, or corrects a defect.
  • 1:11 - 1:13
    Those are all things
    that are made possible
  • 1:13 - 1:15
    by the GitHub platform.
  • 1:16 - 1:17
    You'll find that we have solutions,
  • 1:17 - 1:20
    such as an integrated defect tracker,
  • 1:20 - 1:22
    and the process of pull requests,
  • 1:22 - 1:24
    to which code change can get reviewed,
  • 1:24 - 1:28
    commented on, refined,
    and then finally accepted,
  • 1:28 - 1:31
    even for people
    that are not core contributors
  • 1:31 - 1:32
    to the project itself.
  • 1:32 - 1:36
    GitHub adds further innovations
    that allow Git to go places
  • 1:36 - 1:38
    that it wouldn't ordinarily
    have been welcome.
  • 1:38 - 1:42
    For example, we have an SvnBridge
    that allows any Git repository
  • 1:42 - 1:45
    to be treated as a subversion repository.
  • 1:45 - 1:47
    This often facilitates a slow migration
  • 1:47 - 1:50
    of continuous integration infrastructure,
  • 1:50 - 1:51
    build scripts, or other automation
  • 1:51 - 1:54
    that you've built into
    your release process.
  • 1:56 - 1:59
    GitHub also has the concept
    of the web flow.
  • 1:59 - 2:03
    This brings most of the Git operations
    to the web browser.
  • 2:03 - 2:05
    No cloning the repository to disk,
  • 2:05 - 2:08
    no loading of Git software
    on your local machine,
  • 2:08 - 2:10
    especially if it's a shared terminal,
  • 2:10 - 2:13
    just an editor, with syntax highlighting,
  • 2:13 - 2:14
    directly in the browser,
  • 2:14 - 2:17
    for any of the files in a repository.
  • 2:17 - 2:21
    Rename them, move them,
    delete them, add brand new files,
  • 2:21 - 2:24
    change all kinds of things
    about the project,
  • 2:24 - 2:26
    directly from the browser.
  • 2:26 - 2:29
    This means that Git is far more accessible
  • 2:29 - 2:32
    to the members of your organization,
    open source project,
  • 2:32 - 2:36
    or company, than would be
    if they required the desktop tools
  • 2:36 - 2:38
    to interact with this repository.
  • 2:41 - 2:42
    As documentation is recognized
  • 2:42 - 2:46
    to be a critical part
    of every software project,
  • 2:46 - 2:49
    having support for prose,
    both in the repositories
  • 2:49 - 2:52
    and in the surrounding commentary,
    is extremely important.
  • 2:53 - 2:56
    GitHub supports GitHub-flavored markdown,
  • 2:56 - 2:59
    which is an improvement
    on the core markdown language
  • 2:59 - 3:02
    in issues, pull requests,
    and even in documents
  • 3:02 - 3:06
    that are contributed
    to the core of the repository itself.
  • 3:06 - 3:09
    Simply give them a .md extension,
    put them in the repository
  • 3:09 - 3:11
    as you would any other file,
  • 3:11 - 3:13
    and you'll see them
    rendered with changes,
  • 3:13 - 3:16
    as you would expect
    from a document editor.
  • 3:16 - 3:18
    Lines are struck out that are removed,
  • 3:18 - 3:21
    lines appropriately show
    where they've been relocated to,
  • 3:21 - 3:25
    and lines that are put in as additions
    are shown in green.
  • 3:29 - 3:32
    It doesn't end with just
    code and documents, though.
  • 3:32 - 3:35
    We're adding support for things
  • 3:35 - 3:37
    like 3D models, an STL file format,
  • 3:37 - 3:39
    and GeoJSON, for maps.
  • 3:39 - 3:43
    Those render in the browser,
    meaning that tools you'd ordinarily
  • 3:43 - 3:46
    have to purchase and download
    to your local machine,
  • 3:46 - 3:49
    complexly set up, configure and install,
  • 3:49 - 3:52
    now just render directly in the browser,
  • 3:52 - 3:54
    making those files all the more accessible
  • 3:54 - 3:57
    for anyone visiting that repository.
  • 3:57 - 3:59
    GitHub is the unifying platform
  • 3:59 - 4:01
    that brings together a web flow
  • 4:01 - 4:03
    that would ordinarily
    require desktop tools,
  • 4:03 - 4:05
    both for working with Git,
  • 4:05 - 4:10
    as well as rendering these complex
    markdown, STL, and GeoJSON files
  • 4:10 - 4:13
    into an online experience
    that's easy to use,
  • 4:13 - 4:15
    just moments after signing up
    for an account.
  • 4:15 - 4:18
    It means that collaboration
    happens more frequently,
  • 4:19 - 4:20
    with less friction,
  • 4:20 - 4:22
    and more contributions get made
  • 4:22 - 4:24
    to both open-
    and closed-source projects
  • 4:24 - 4:26
    because of this product.
  • 4:27 - 4:30
    Thanks for watching this episode
    of Git and GitHub Foundations
  • 4:30 - 4:32
    on the GitHub.com platform.
  • 4:32 - 4:35
    Be sure to subscribe
    to our episodes over here.
  • 4:35 - 4:38
    If you have a followup question,
    ask that down below.
  • 4:38 - 4:39
    We also appreciate comments.
  • 4:39 - 4:41
    And if you'd like some related videos,
  • 4:41 - 4:43
    those are all right down here,
  • 4:43 - 4:45
    including the use of pull requests.
Title:
Intro to GitHub • GitHub & Git Foundations
Description:

more » « less
Video Language:
English
Team:
GitHub
Project:
Git and GitHub Foundations
Duration:
04:51
There has been no activity on this language so far.

English subtitles

Revisions Compare revisions