Skip to main content
ドキュメントには� �繁に更新が� えられ、その都度公開されています。本ページの翻訳はま� 未完成な部分があることをご了承く� さい。最新の情� �については、英語のドキュメンテーションをご参照く� さい。本ページの翻訳に問題がある� �合はこちらまでご連絡く� さい。

このバージョンの GitHub Enterprise はこの日付をもって終了となりました: 2022-06-03. 重大なセキュリティの問題に対してであっても、パッチリリースは作成されません。 パフォーマンスの向上、セキュリティの改善、新機能のためには、最新バージョンのGitHub Enterpriseにアップグレードしてく� さい。 アップグレードに関する支援については、GitHub Enterprise supportに連絡してく� さい。

Getting started with your GitHub account

With a personal account on GitHub, you can import or create repositories, collaborate with others, and connect with the GitHub community.

This guide will walk you through setting up your GitHub account and getting started with GitHub Enterprise Server's features for collaboration and community.

Part 1: Configuring your GitHub account

The first steps in starting with GitHub Enterprise Server are to access your account, set up two-factor authentication, and view your profile.

Every person who uses GitHub Enterprise Server has their own personal account, which can be part of multiple organizations and teams. Your personal account is your identity on GitHub Enterprise Serverインスタンス and represents you as an individual.

1. Accessing your account

The administrator of your GitHub Enterprise Server instance will notify you about how to authenticate and access your account. The process varies depending on the authentication mode they have configured for the instance.

2. Configuring two-factor authentication

2 要� 認証、あるいは 2FA は、Web サイトあるいはアプリケーションにログインする際に使われる追� のセキュリティレイヤーです。 We strongly urge you to configure 2FA for the safety of your account. 詳しい情� �については「2 要� 認証について」を参照してく� さい。

3. Viewing your GitHub profile and contribution graph

Your GitHub profile tells people the story of your work through the repositories and gists you've pinned, the organization memberships you've chosen to publicize, the contributions you've made, and the projects you've created. For more information, see "About your profile" and "Viewing contributions on your profile."

Part 2: Using GitHub Enterprise Server's tools and processes

To best use GitHub Enterprise Server, you'll need to set up Git. Git は、GitHub に関連してローカルコンピュータで発生するすべての動作の� �本を担っています。 To effectively collaborate on GitHub Enterprise Server, you'll write in issues and pull requests using GitHub Flavored Markdown.

1. Learning Git

GitHub's collaborative approach to development depends on publishing commits from your local repository to GitHub Enterprise Server for other people to view, fetch, and update using Git. For more information about Git, see the "Git Handbook" guide. For more information about how Git is used on GitHub Enterprise Server, see "GitHub flow."

2. Git をセットアップする

If you plan to use Git locally on your computer, whether through the command line, an IDE or text editor, you will need to install and set up Git. 詳細は「Git のセットアップ」を参照してく� さい。を参照してく� さい。

If you prefer to use a visual interface, you can download and use GitHub Desktop. GitHub Desktop comes packaged with Git, so there is no need to install Git separately. 詳細は「GitHub Desktop を使ってみる」を参照してく� さい。

Once you install Git, you can connect to GitHub Enterprise Server repositories from your local computer, whether your own repository or another user's fork. When you connect to a repository on GitHub Enterprise Serverインスタンス from Git, you'll need to authenticate with GitHub Enterprise Server using either HTTPS or SSH. For more information, see "About remote repositories."

3. Choosing how to interact with GitHub Enterprise Server

Everyone has their own unique workflow for interacting with GitHub; the interfaces and methods you use depend on your preference and what works best for your needs.

For more information about how to authenticate to GitHub Enterprise Server with each of these methods, see "About authentication to GitHub."

方法説明Use cases
Browse to GitHub.comIf you don't need to work with files locally, GitHub Enterprise Server lets you complete most Git-related actions directly in the browser, from creating and forking repositories to editing files and opening pull requests.This method is useful if you want a visual interface and need to do quick, simple changes that don't require working locally.
GitHub DesktopGitHub Desktop は、コマンドライン上でテキストコマンドを使うのではなく、ビジュアルインターフェースを使って、あなたの ワークフローを拡張し簡略化します。 For more information on getting started with GitHub Desktop, see "Getting started with GitHub Desktop."This method is best if you need or want to work with files locally, but prefer using a visual interface to use Git and interact with GitHub Enterprise Server.
IDE or text editorYou can set a default text editor, like Atom or Visual Studio Code to open and edit your files with Git, use extensions, and view the project structure. For more information, see "Associating text editors with Git."This is convenient if you are working with more complex files and projects and want everything in one place, since text editors or IDEs often allow you to directly access the command line in the editor.
Command line, with or without GitHub CLIFor the most granular control and customization of how you use Git and interact with GitHub Enterprise Server, you can use the command line. For more information on using Git commands, see "Git cheatsheet."

GitHub CLI is a separate command-line tool you can install that brings pull requests, issues, GitHub Actions, and other GitHub features to your terminal, so you can do all your work in one place. For more information, see "GitHub CLI."
This is most convenient if you are already working from the command line, allowing you to avoid switching context, or if you are more comfortable using the command line.
GitHub Enterprise Server APIGitHub has a REST API and GraphQL API that you can use to interact with GitHub Enterprise Server. For more information, see "Getting started with the API."The GitHub Enterprise Server API would be most helpful if you wanted to automate common tasks, back up your data, or create integrations that extend GitHub.

4. Writing on GitHub Enterprise Server

To make your communication clear and organized in issues and pull requests, you can use GitHub Flavored Markdown for formatting, which combines an easy-to-read, easy-to-write syntax with some custom functionality. 詳しい情� �については、「GitHubでの執筆とフォーマットについて」を参照してく� さい。

You can learn GitHub Flavored Markdown with the "Communicate using Markdown" course on GitHubスキル.

5. Searching on GitHub Enterprise Server

Our integrated search allows you to find what you are looking for among the many repositories, users and lines of code on GitHub Enterprise Server. You can search globally across all of GitHub Enterprise Server or limit your search to a particular repository or organization. For more information about the types of searches you can do on GitHub Enterprise Server, see "About searching on GitHub."

Our search syntax allows you to construct queries using qualifiers to specify what you want to search for. For more information on the search syntax to use in search, see "Searching on GitHub."

6. Managing files on GitHub Enterprise Server

With GitHub Enterprise Server, you can create, edit, move and delete files in your repository or any repository you have write access to. You can also track the history of changes in a file line by line. For more information, see "Managing files on GitHub."

Part 3: Collaborating on GitHub Enterprise Server

Any number of people can work together in repositories across GitHub Enterprise Server. You can configure settings, create project boards, and manage your notifications to encourage effective collaboration.

1. Working with repositories


リポジトリは、プロジェクトのフォルダーのようなものです。 You can have any number of public and private repositories in your personal account. Repositories can contain folders and files, images, videos, spreadsheets, and data sets, as well as the revision history for all files in the repository. For more information, see "About repositories."

When you create a new repository, you should initialize the repository with a README file to let people know about your project. 詳しい情� �については「新しいリポジトリの作成」を参照してく� さい。


You can clone an existing repository from GitHub Enterprise Server to your local computer, making it easier to add or remove files, fix merge conflicts, or make complex commits. リポジトリをクローンすると、その時点で GitHub にあるすべてのリポジトリデータの完全なコピーがプルダウンされます。これには、プロジェクトのすべてのファイルとフォルダのすべてのバージョンも含まれます。 詳しい情� �についてはリポジトリのクローンを参照してく� さい。


A fork is a copy of a repository that you manage, where any changes you make will not affect the original repository unless you submit a pull request to the project owner. 一般的にフォークは、他のユーザのプロジェクトへの変更を提案するため、あるいは他のユーザのプロジェクトを自分のアイディアの出発点として活用するために使用します。 For more information, see "Working with forks."

2. プロジェクトのインポート

If you have existing projects you'd like to move over to GitHub Enterprise Server you can import projects using the GitHub Importer, the command line, or external migration tools. For more information, see "Importing source code to GitHub."

3. Managing collaborators and permissions

リポジトリの Issue、プルリクエスト、プロジェクトボードを使ってプロジェクトで他者とコラボレーションできます。 You can invite other people to your repository as collaborators from the Collaborators tab in the repository settings. 詳しい情� �については、「コラボレータを個人リポジトリに招待する」を参照してく� さい。

You are the owner of any repository you create in your personal account and have full control of the repository. Collaborators have write access to your repository, limiting what they have permission to do. For more information, see "Permission levels for a personal account repository."

4. リポジトリ設定を管理する

As the owner of a repository you can configure several settings, including the repository's visibility, topics, and social media preview. 詳しい情� �については、「リポジトリ設定を管理する」を参照してく� さい。

5. 健全なコントリビューションを促すプロジェクトをセットアップする

By adding files like contributing guidelines, a code of conduct, and support resources to your repository you can create an environment where it's easier for collaborators to make meaningful, useful contributions. 詳しい情� �については、「健全なコントリビューションを促すプロジェクトをセットアップする」を参照してく� さい。

6. Using GitHub Issues and project boards

You can use GitHub Issues to organize your work with issues and pull requests and manage your workflow with project boards. For more information, see "About issues" and "About project boards."

7. Managing notifications

Notifications provide updates about the activity on GitHub you've subscribed to or participated in. 会話に関心がなくなった� �合は、今後受信する通知の種類を、サブスクライブ解除、Watch 解除、またはカスタマイズできます。 詳しい情� �については、「通知について」を参照してく� さい。

8. GitHub Pages の活用

You can use GitHub Pages to create and host a website directly from a repository on GitHub Enterprise Serverインスタンス. 詳しい情� �については、「GitHub Pages について」を参照してく� さい。

Part 4: Customizing and automating your work on GitHub Enterprise Server

You can use tools from the GitHub Marketplace, the GitHub Enterprise Server API, and existing GitHub Enterprise Server features to customize and automate your work.

1. Using the GitHub Enterprise Server API

There are two versions of the GitHub Enterprise Server API: the REST API and the GraphQL API. You can use the GitHub Enterprise Server APIs to automate common tasks, back up your data, or create integrations that extend GitHub Enterprise Server. For more information, see "About GitHub's APIs."

2. Building GitHub Actions

With GitHub Actions, you can automate and customize GitHub Enterprise Serverインスタンス's development workflow on GitHub Enterprise Server. 独自のアクションを作成したり、GitHubコミュニティで共有されたアクションを利用したりカスタマイズしたりできます。 詳しい情� �については、「GitHub Actions を学ぶ」を参照してく� さい。

3. Publishing and managing GitHub Packages

GitHub Packagesはソフトウェアパッケージのホスティングサービスであり、ソフトウェアパッケージをプライベートもしくはパブリックでホストでき、パッケージをプロジェクト中で依存関係として使えるようになります。 詳しい情� �については、「GitHub Packages の紹介」を参照してく� さい。

Part 5: Building securely on GitHub Enterprise Server

GitHub Enterprise Server has a variety of security features that help keep code and secrets secure in repositories. Some features are available for all repositories, while others are only available for public repositories and repositories with a GitHub Advanced Security license. For an overview of GitHub Enterprise Server security features, see "GitHub security features."

1. リポジトリを保護する

As a repository administrator, you can secure your repositories by configuring repository security settings. These include managing access to your repository, setting a security policy, and managing dependencies. For public repositories, and for private repositories owned by organizations where GitHub Advanced Security is enabled, you can also configure code and secret scanning to automatically identify vulnerabilities and ensure tokens and keys are not exposed.

For more information on steps you can take to secure your repositories, see "Securing your repository."

Part 6: Participating in GitHub's community

There are many ways to participate in the GitHub community. You can contribute to open source projects, interact with people in the GitHub Community Support, or learn with GitHubスキル.

1. Contributing to open source projects

Contributing to open source projects on GitHub can be a rewarding way to learn, teach, and build experience in just about any skill you can imagine. For more information, see "How to Contribute to Open Source" in the Open Source Guides.

You can find personalized recommendations for projects and good first issues based on your past contributions, stars, and other activities in Explore.

2. Interacting with GitHub Community Support

You can connect with developers around the world to ask and answer questions, learn, and interact directly with GitHub Enterprise Server staff. To get the conversation started, see "GitHub Community Support."

3. Reading about GitHub Enterprise Server on GitHub Docs

You can read documentation that reflects the features available to you on GitHub Enterprise Server. For more information, see "About versions of GitHub Docs."

4. Learning with GitHubスキル

You can learn new skills by completing fun, realistic projects in your very own GitHub repository with GitHubスキル. Each course is a hands-on lesson created by the GitHub community and taught by a friendly bot.

For more information, see "Git and GitHub learning resources."