Collaborate on research papers with GitHub

Published 04-27-2021 09:08 AM 879 Views
Microsoft

GitHub is well-known as a platform where software developers host their code and collaborate with their teams on a project. In this blog post, we'll show you how you can use the GitHub model to do the same thing and collaborate seamlessly on your research papers.

 

This blog post is co-authored with Ornella Altunyan, because we believe that GitHub is a great technology and tool to be used beyond pure software development.

Git, GitHub, and how it all works

 

The first thing you’ll want to do is set up Git. Git is the version control system that runs behind the scenes of any GitHub project—it’s what allows you to collaborate with others, go back to previous versions of your project, and view changes made by different members of your team. You may want to use Git from a command-line, but in the beginning, it might be easier to use the GitHub Desktop client.

 

Projects on GitHub are organized in repositories. You’ll create a new repository for your research paper, and choose who you want to have access. All your files, whether you’re using Markdown, LaTeX, or another typesetting or markup language (more on that later!) will live in this repository. You’ll want to clone the repository to your local machine, so that you have a copy of your files on your local machine.

 

The source of truth for your paper will live on the main branch of your repository – this branch is initialized when you create your repository. You can create multiple branches for different sections of your paper, and edit and merge them into your main branch when you’re finished. A commit is a snapshot of your repository at a given moment, and it might contain a set of changes that you’ve made to the information on a specific branch.

 

This is just a short introduction to all the features you can take advantage of when you use GitHub to collaborate on your research papers. Keep reading for more information, and a sample workflow that you can use to get started.

 

What should and should not be stored in Git

 

It is important to understand that GitHub is not a replacement for file storage, or a convenient storage for binary files. It was originally designed to be used as a source code repository, and thus it allows you to track changes between text documents. If you are planning on collaborating on Word documents, setting up a shared OneDrive location is a much better choice. For this reason, many people don’t consider GitHub to be a convenient collaboration platform for editing documents. However, scientists often write their papers in text format, most often – TeX or LaTeX. This makes it very convenient to use GitHub as a collaboration platform. It is one of the reasons we believe that GitHub is a very beneficial collaboration platform for scientists.

 

Why GitHub?

 

Using Git will give you many advantages:

  • Tracking changes between different editions of a document. Text documents can be easily compared to each other using the GitHub interface. This is useful even when you are working on a paper alone, because all changes are tracked, and you can always roll back to any previous state.

  • Working on different branches of the document and merging branches together. There are a few different styles of using Git for collaboration, so-called Git workflows. With branches, you and your collaborators can all work on specific parts of your project without conflicts, for prolonged periods of time.

  • Accepting contributions to your paper/code from outside. Github has a convenient mechanism of pull requests – suggestions from other users, that you can then approve and merge into the main content. For example, the Web Development for Beginners course was developed and hosted on GitHub originally by a group of around 10 people, and now it has more than 50 contributors, including people who are translating the course into different languages.

  • If you are very advanced (or have some friends who are into DevOps), you can setup GitHub Actions to automatically create a new PDF version of your paper every time changes are made to the repository.

 

LaTeX or Markdown?

 

Most scientists write their papers in LaTeX, mostly because it provides easy access to a lot of workflows in academia, like paper templates. There are also some good collaboration platforms specific to TeX, for example, Overleaf. However, it won't give you full control of your versioning and collaboration features like Git. 

 

Writing in LaTeX also requires quite a bit of overhead, meaning that many layout features are quite verbose, for example:

\subsection{Section 1}
\begin{itemize}
  \item Item 1
  \item Item 2
\end{itemize}

In the world of software development, there is a language for writing formatted text documents – Markdown. Markdown looks just like a plain text document. For example, the text above would be formatted like this:

## Section 1

* Item 1
* Item 2

This document is much easier to read as plain text, but it is also formatted into a nice looking document by Markdown processors. There are also ways to include TeX formulae into markdown using specific syntax.

 

In fact, I've been writing all of my blog posts and most text content in Markdown for a few years, including posts with formulae. For scientific writing, the great Markdown processor (as well as live editing environment) integrated with TeX is madoko – I highly recommend you check it out. You can use it from the web interface (which has GitHub integration), and there's also an open-source command-line tool to convert your markdown writing into either LaTeX, or directly to PDF.

 

shwars_1-1619516623596.png

While you may continue using LaTeX with Git, I encourage you to look into markdown-based writing options. By the way, if you have some writing in different formats, such as Microsoft Word documents, it can be converted to Markdown using a tool called pandoc.

 

Sample workflow

 

Main thing that git does is to allow you to structure your writing (whether it is code or scientific paper) into chunks called commits. Your code is tracked in the local repository, and once you have done some changes – you need to specifically commit them. Then, you can also synchronize your commits with others by using some remote common repository, called upstream.

Sounds complicated? When using GitHub Desktop most of the tasks are completely automated for you. Below we will describe the simplest way you can collaborate on a paper with your colleagues.

  1. Create a new repository on GitHub. I set the visibility to Private so I can decide which collaborators I’d like to invite to contribute later.
     

    create-repo.png

     

  2. Select Set up in Desktop to quickly set up your repository in GitHub Desktop. 

    set-up-in-desktop.png
  3. Next, you’ll need to create a local clone of the repository on your machine. You may be prompted to reauthenticate to GitHub during this step. 

    shwars_4-1619516623636.png

  4. I already have a couple of Markdown files that I’ve started working on saved to my computer. I can select View the files of your repository in Finder to open the folder where my local copy of the repository is stored, and drag in the files for my Table of Contents, Section 1, and Bibliography from my computer.
    view-files-in-finder.png

     

    finder-view.png

     

  5. Now, when I go back to GitHub Desktop, I can see those files have been added to my repository. I want to commit those files to the main branch. I can also publish my branch to push those changes to GitHub, and make them accessible to others who I’ll collaborate with. 

    commit-to-main.png

  6. Next, I’m going to create a new branch so I can go off and work on Section 2 of my paper. I’ll automatically end up on that branch after it has been created. There are a couple of options you’ll be able to select from for making changes to your file in this branch:
    • You can create a Pull Request from your current branch – if I wanted my colleague to be able to review the changes I’ve made in this branch, I’d use this option and send her the PR for review.
    • You can also open the repository in your external editor. I use VS Code to edit my files, so I can add section 2 of my paper there, and then commit it to my section2 branch.
    • If I already have section 2 of my paper saved somewhere on my computer, or if my colleague has sent me something they’ve worked on, I can follow the same workflow as above and check out the files in my repository on my machine, and add/remove files that way.
    • If I just need to make a small change, I’d open my repository in the browser and edit from there.

      new-branch.png

       

      on-section2-branch.png

       

  7. I can open my repository in GitHub to check out all of the files and information. This is the link I’d send to a colleague if I wanted them to be able to clone the code onto their local machine, and help me out with some sections. 

    view-on-github.png


    Since I’ve made my repository private, I’ll need to add collaborators in the Settings pane. 

    invite-collaborators.png

     

  8. Once I’m happy with Section 2 of my paper, I can go ahead and merge it into the main branch of my repository. I switch over to the main branch, then choose a branch to merge into main, and choose section2. Then, I’ll want to push my changes back up to GitHub so that the main branch is updated with the newest changes for any future collaborators. 

    merge-branch-into-main.png


This is one example of a Git workflow you can use in conjunction with GitHub Desktop to collaborate on a research paper with your colleagues. There are several other ways that may serve your needs better—you may want to use the command line with VS Code, or edit your files on GitHub in the browser. Whatever method works for you is the best method, as long as you’re able to accomplish your goals.

1 Comment
New Contributor

Reading this article took me back to the mid 80's when I used vi/nroff/troff to produce beautiful documents.  Funny how things have gone full circle, if this the end of WYSIWYG and the start of a move back to character terminals?? ;)

%3CLINGO-SUB%20id%3D%22lingo-sub-2296894%22%20slang%3D%22en-US%22%3ECollaborate%20on%20research%20papers%20with%20GitHub%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2296894%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EGitHub%20is%20well-known%20as%20a%20platform%20where%20software%20developers%20host%20their%20code%20and%20collaborate%20with%20their%20teams%20on%20a%20project.%20In%20this%20blog%20post%2C%20we'll%20show%20you%20how%20you%20can%20use%20the%20GitHub%20model%20to%20do%20the%20same%20thing%20and%20collaborate%20seamlessly%20on%20your%20research%20papers.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3EThis%20blog%20post%20is%20co-authored%20with%20%3CA%20href%3D%22http%3A%2F%2Ftwitter.com%2Fornelladotcom%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOrnella%20Altunyan%3C%2FA%3E%2C%20because%20we%20believe%20that%20GitHub%20is%20a%20great%20technology%20and%20tool%20to%20be%20used%20beyond%20pure%20software%20development.%3C%2FBLOCKQUOTE%3E%0A%3CH2%20id%3D%22what-is-git-github-and-how-it-all-works%22%20id%3D%22toc-hId--491780585%22%20id%3D%22toc-hId--491780585%22%20id%3D%22toc-hId--491835146%22%3EGit%2C%20GitHub%2C%20and%20how%20it%20all%20works%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20first%20thing%20you%E2%80%99ll%20want%20to%20do%20is%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%2Fgetting-started-with-github%2Fset-up-git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eset%20up%20Git%3C%2FA%3E.%20Git%20is%20the%20version%20control%20system%20that%20runs%20behind%20the%20scenes%20of%20any%20GitHub%20project%E2%80%94it%E2%80%99s%20what%20allows%20you%20to%20collaborate%20with%20others%2C%20go%20back%20to%20previous%20versions%20of%20your%20project%2C%20and%20view%20changes%20made%20by%20different%20members%20of%20your%20team.%20You%20may%20want%20to%20use%20Git%20from%20a%20command-line%2C%20but%20in%20the%20beginning%2C%20it%20might%20be%20easier%20to%20use%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdesktop.github.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20Desktop%20client%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EProjects%20on%20GitHub%20are%20organized%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Erepositories%3C%2FSTRONG%3E.%20You%E2%80%99ll%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%2Fgetting-started-with-github%2Fcreate-a-repo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecreate%20a%20new%20repository%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20your%20research%20paper%2C%20and%20choose%20who%20you%20want%20to%20have%20access.%20All%20your%20files%2C%20whether%20you%E2%80%99re%20using%20Markdown%2C%20LaTeX%2C%20or%20another%20typesetting%20or%20markup%20language%20(more%20on%20that%20later!)%20will%20live%20in%20this%20repository.%20You%E2%80%99ll%20want%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%2Fcreating-cloning-and-archiving-repositories%2Fcloning-a-repository%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eclone%20the%20repository%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20your%20local%20machine%2C%20so%20that%20you%20have%20a%20copy%20of%20your%20files%20on%20your%20local%20machine.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20source%20of%20truth%20for%20your%20paper%20will%20live%20on%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Emain%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%2Fcollaborating-with-issues-and-pull-requests%2Fabout-branches%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ebranch%3C%2FA%3E%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eof%20your%20repository%20%E2%80%93%20this%20branch%20is%20initialized%20when%20you%20create%20your%20repository.%20You%20can%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%2Fcollaborating-with-issues-and-pull-requests%2Fcreating-and-deleting-branches-within-your-repository%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecreate%20multiple%20branches%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20different%20sections%20of%20your%20paper%2C%20and%20edit%20and%20merge%20them%20into%20your%20main%20branch%20when%20you%E2%80%99re%20finished.%20A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%2Fcontributing-and-collaborating-using-github-desktop%2Fcommitting-and-reviewing-changes-to-your-project%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3Ecommit%3C%2FSTRONG%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20a%20snapshot%20of%20your%20repository%20at%20a%20given%20moment%2C%20and%20it%20might%20contain%20a%20set%20of%20changes%20that%20you%E2%80%99ve%20made%20to%20the%20information%20on%20a%20specific%20branch.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20just%20a%20short%20introduction%20to%20all%20the%20features%20you%20can%20take%20advantage%20of%20when%20you%20use%20GitHub%20to%20collaborate%20on%20your%20research%20papers.%20Keep%20reading%20for%20more%20information%2C%20and%20a%20sample%20workflow%20that%20you%20can%20use%20to%20get%20started.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22what-should-and-should-not-be-stored-in-git%22%20id%3D%22toc-hId-1995732248%22%20id%3D%22toc-hId-1995732248%22%20id%3D%22toc-hId-1995677687%22%3EWhat%20should%20and%20should%20not%20be%20stored%20in%20Git%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20important%20to%20understand%20that%20GitHub%20is%20not%20a%20replacement%20for%20file%20storage%2C%20or%20a%20convenient%20storage%20for%20binary%20files.%20It%20was%20originally%20designed%20to%20be%20used%20as%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Esource%20code%20repository%3C%2FSTRONG%3E%2C%20and%20thus%20it%20allows%20you%20to%20track%20changes%20between%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Etext%20documents%3C%2FSTRONG%3E.%20If%20you%20are%20planning%20on%20collaborating%20on%20Word%20documents%2C%20setting%20up%20a%20shared%20OneDrive%20location%20is%20a%20much%20better%20choice.%20For%20this%20reason%2C%20many%20people%20don%E2%80%99t%20consider%20GitHub%20to%20be%20a%20convenient%20collaboration%20platform%20for%20editing%20documents.%20However%2C%20scientists%20often%20write%20their%20papers%20in%20text%20format%2C%20most%20often%20%E2%80%93%20TeX%20or%20LaTeX.%20This%20makes%20it%20very%20convenient%20to%20use%20GitHub%20as%20a%20collaboration%20platform.%20It%20is%20one%20of%20the%20reasons%20we%20believe%20that%20GitHub%20is%20a%20very%20beneficial%20collaboration%20platform%20for%20scientists.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-188277785%22%20id%3D%22toc-hId-188277785%22%20id%3D%22toc-hId-188223224%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22why-github%22%20id%3D%22toc-hId--1619176678%22%20id%3D%22toc-hId--1619176678%22%20id%3D%22toc-hId--1619231239%22%3EWhy%20GitHub%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUsing%20Git%20will%20give%20you%20many%20advantages%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CP%3ETracking%20changes%20between%20different%20editions%20of%20a%20document.%20Text%20documents%20can%20be%20easily%20compared%20to%20each%20other%20using%20the%20GitHub%20interface.%20This%20is%20useful%20even%20when%20you%20are%20working%20on%20a%20paper%20alone%2C%20because%20all%20changes%20are%20tracked%2C%20and%20you%20can%20always%20roll%20back%20to%20any%20previous%20state.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EWorking%20on%20different%20branches%20of%20the%20document%20and%20merging%20branches%20together.%20There%20are%20a%20few%20different%20styles%20of%20using%20Git%20for%20collaboration%2C%20so-called%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.atlassian.com%2Fgit%2Ftutorials%2Fcomparing-workflows%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EGit%20workflows%3C%2FA%3E.%20With%20branches%2C%20you%20and%20your%20collaborators%20can%20all%20work%20on%20specific%20parts%20of%20your%20project%20without%20conflicts%2C%20for%20prolonged%20periods%20of%20time.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EAccepting%20contributions%20to%20your%20paper%2Fcode%20from%20outside.%20Github%20has%20a%20convenient%20mechanism%20of%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Epull%20requests%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E2%80%93%20suggestions%20from%20other%20users%2C%20that%20you%20can%20then%20approve%20and%20merge%20into%20the%20main%20content.%20For%20example%2C%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWeb-Dev-For-Beginners%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EWeb%20Development%20for%20Beginners%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecourse%20was%20developed%20and%20hosted%20on%20GitHub%20originally%20by%20a%20group%20of%20around%2010%20people%2C%20and%20now%20it%20has%20more%20than%2050%20contributors%2C%20including%20people%20who%20are%20translating%20the%20course%20into%20different%20languages.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EIf%20you%20are%20very%20advanced%20(or%20have%20some%20friends%20who%20are%20into%20DevOps)%2C%20you%20can%20setup%20%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Factions%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20Actions%3C%2FA%3E%26nbsp%3Bto%20automatically%20create%20a%20new%20PDF%20version%20of%20your%20paper%20every%20time%20changes%20are%20made%20to%20the%20repository.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-868336155%22%20id%3D%22toc-hId-868336155%22%20id%3D%22toc-hId-868281594%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22latex-or-markdown%22%20id%3D%22toc-hId--939118308%22%20id%3D%22toc-hId--939118308%22%20id%3D%22toc-hId--939172869%22%3ELaTeX%20or%20Markdown%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMost%20scientists%20write%20their%20papers%20in%20LaTeX%2C%20mostly%20because%20it%20provides%20easy%20access%20to%20a%20lot%20of%20workflows%20in%20academia%2C%20like%20paper%20templates.%20There%20are%20also%20some%20good%20collaboration%20platforms%20specific%20to%20TeX%2C%20for%20example%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.overleaf.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EOverleaf%3C%2FA%3E.%20However%2C%20it%20won't%20give%20you%20full%20control%20of%20your%20versioning%20and%20collaboration%20features%20like%20Git.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWriting%20in%20LaTeX%20also%20requires%20quite%20a%20bit%20of%20overhead%2C%20meaning%20that%20many%20layout%20features%20are%20quite%20verbose%2C%20for%20example%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22language-plaintext%20highlighter-rouge%22%3E%0A%3CDIV%20class%3D%22highlight%22%3E%0A%3CPRE%20class%3D%22highlight%22%3E%3CCODE%3E%5Csubsection%7BSection%201%7D%0A%5Cbegin%7Bitemize%7D%0A%20%20%5Citem%20Item%201%0A%20%20%5Citem%20Item%202%0A%5Cend%7Bitemize%7D%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3EIn%20the%20world%20of%20software%20development%2C%20there%20is%20a%20language%20for%20writing%20formatted%20text%20documents%20%E2%80%93%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EMarkdown%3C%2FSTRONG%3E.%20Markdown%20looks%20just%20like%20a%20plain%20text%20document.%20For%20example%2C%20the%20text%20above%20would%20be%20formatted%20like%20this%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22language-markdown%20highlighter-rouge%22%3E%0A%3CDIV%20class%3D%22highlight%22%3E%0A%3CPRE%20class%3D%22highlight%22%3E%3CCODE%3E%3CSPAN%20class%3D%22gu%22%3E%23%23%20Section%201%3C%2FSPAN%3E%0A%3CSPAN%20class%3D%22p%22%3E%0A*%3C%2FSPAN%3E%20Item%201%0A%3CSPAN%20class%3D%22p%22%3E*%3C%2FSPAN%3E%20Item%202%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3EThis%20document%20is%20much%20easier%20to%20read%20as%20plain%20text%2C%20but%20it%20is%20also%20formatted%20into%20a%20nice%20looking%20document%20by%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EMarkdown%20processors%3C%2FSTRONG%3E.%20There%20are%20also%20ways%20to%20include%20TeX%20formulae%20into%20markdown%20using%20specific%20syntax.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20fact%2C%20I've%20been%20writing%20all%20of%20my%20blog%20posts%20and%20most%20text%20content%20in%20Markdown%20for%20a%20few%20years%2C%20including%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsoshnikov.com%2Fscience%2Fsliding-sir-model-for-rt-estimation%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eposts%20with%20formulae%3C%2FA%3E.%20For%20scientific%20writing%2C%20the%20great%20Markdown%20processor%20(as%20well%20as%20live%20editing%20environment)%20integrated%20with%20TeX%20is%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.madoko.net%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSTRONG%3Emadoko%3C%2FSTRONG%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E2%80%93%20I%20highly%20recommend%20you%20check%20it%20out.%20You%20can%20use%20it%20from%20the%20web%20interface%20(which%20has%20GitHub%20integration)%2C%20and%20there's%20also%20an%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fkoka-lang%2Fmadoko%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eopen-source%20command-line%20tool%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20convert%20your%20markdown%20writing%20into%20either%20LaTeX%2C%20or%20directly%20to%20PDF.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22shwars_1-1619516623596.png%22%20style%3D%22width%3A%20548px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275748i2F6D7134FA21057A%2Fimage-dimensions%2F548x289%3Fv%3Dv2%22%20width%3D%22548%22%20height%3D%22289%22%20role%3D%22button%22%20title%3D%22shwars_1-1619516623596.png%22%20alt%3D%22shwars_1-1619516623596.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWhile%20you%20may%20continue%20using%20LaTeX%20with%20Git%2C%20I%20encourage%20you%20to%20look%20into%20markdown-based%20writing%20options.%20By%20the%20way%2C%20if%20you%20have%20some%20writing%20in%20different%20formats%2C%20such%20as%20Microsoft%20Word%20documents%2C%20it%20can%20be%20converted%20to%20Markdown%20using%20a%20tool%20called%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16383237%2Fhow-can-doc-docx-files-be-converted-to-markdown-or-structured-text%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Epandoc%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22sample-workflow%22%20id%3D%22toc-hId-1548394525%22%20id%3D%22toc-hId-1548394525%22%20id%3D%22toc-hId-1548339964%22%3ESample%20workflow%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMain%20thing%20that%20git%20does%20is%20to%20allow%20you%20to%20structure%20your%20writing%20(whether%20it%20is%20code%20or%20scientific%20paper)%20into%20chunks%20called%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Ecommits%3C%2FSTRONG%3E.%20Your%20code%20is%20tracked%20in%20the%20local%20repository%2C%20and%20once%20you%20have%20done%20some%20changes%20%E2%80%93%20you%20need%20to%20specifically%20commit%20them.%20Then%2C%20you%20can%20also%20synchronize%20your%20commits%20with%20others%20by%20using%20some%20remote%20common%20repository%2C%20called%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Eupstream%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3ESounds%20complicated%3F%20When%20using%20GitHub%20Desktop%20most%20of%20the%20tasks%20are%20completely%20automated%20for%20you.%20Below%20we%20will%20describe%20the%20simplest%20way%20you%20can%20collaborate%20on%20a%20paper%20with%20your%20colleagues.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%2Fgetting-started-with-github%2Fcreate-a-repo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20a%20new%20repository%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20GitHub.%20I%20set%20the%20visibility%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EPrivate%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eso%20I%20can%20decide%20which%20collaborators%20I%E2%80%99d%20like%20to%20invite%20to%20contribute%20later.%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22create-repo.png%22%20style%3D%22width%3A%20360px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276081i1E93CA5E06FE4622%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22create-repo.png%22%20alt%3D%22create-repo.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3ESelect%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESet%20up%20in%20Desktop%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20quickly%20set%20up%20your%20repository%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdesktop.github.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20Desktop%3C%2FA%3E.%3CSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22set-up-in-desktop.png%22%20style%3D%22width%3A%20538px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276077i72F636CDE15AABCA%2Fimage-dimensions%2F538x282%3Fv%3Dv2%22%20width%3D%22538%22%20height%3D%22282%22%20role%3D%22button%22%20title%3D%22set-up-in-desktop.png%22%20alt%3D%22set-up-in-desktop.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CP%3ENext%2C%20you%E2%80%99ll%20need%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%2Fcontributing-and-collaborating-using-github-desktop%2Fcloning-and-forking-repositories-from-github-desktop%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecreate%20a%20local%20clone%20of%20the%20repository%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eon%20your%20machine.%20You%20may%20be%20prompted%20to%20reauthenticate%20to%20GitHub%20during%20this%20step.%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22shwars_4-1619516623636.png%22%20style%3D%22width%3A%20499px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275752iABECA87C512BCFD1%2Fimage-dimensions%2F499x305%3Fv%3Dv2%22%20width%3D%22499%22%20height%3D%22305%22%20role%3D%22button%22%20title%3D%22shwars_4-1619516623636.png%22%20alt%3D%22shwars_4-1619516623636.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3EI%20already%20have%20a%20couple%20of%20Markdown%20files%20that%20I%E2%80%99ve%20started%20working%20on%20saved%20to%20my%20computer.%20I%20can%20select%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EView%20the%20files%20of%20your%20repository%20in%20Finder%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20open%20the%20folder%20where%20my%20local%20copy%20of%20the%20repository%20is%20stored%2C%20and%20drag%20in%20the%20files%20for%20my%20Table%20of%20Contents%2C%20Section%201%2C%20and%20Bibliography%20from%20my%20computer.%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22view-files-in-finder.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276080iDCBF88229AD9F8BA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22view-files-in-finder.png%22%20alt%3D%22view-files-in-finder.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22finder-view.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276079iC6BC90D1713A90F7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22finder-view.png%22%20alt%3D%22finder-view.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3ENow%2C%20when%20I%20go%20back%20to%20GitHub%20Desktop%2C%20I%20can%20see%20those%20files%20have%20been%20added%20to%20my%20repository.%20I%20want%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%2Fcontributing-and-collaborating-using-github-desktop%2Fcommitting-and-reviewing-changes-to-your-project%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecommit%20those%20files%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20the%20main%20branch.%20I%20can%20also%20publish%20my%20branch%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%2Fcontributing-and-collaborating-using-github-desktop%2Fsyncing-your-branch%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Epush%20those%20changes%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20GitHub%2C%20and%20make%20them%20accessible%20to%20others%20who%20I%E2%80%99ll%20collaborate%20with.%3CSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22commit-to-main.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276082i8A2E6EAF5AA9D3B2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22commit-to-main.png%22%20alt%3D%22commit-to-main.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLI%3E%0A%3CLI%3ENext%2C%20I%E2%80%99m%20going%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%2Fcontributing-and-collaborating-using-github-desktop%2Fmanaging-branches%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecreate%20a%20new%20branch%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eso%20I%20can%20go%20off%20and%20work%20on%20Section%202%20of%20my%20paper.%20I%E2%80%99ll%20automatically%20end%20up%20on%20that%20branch%20after%20it%20has%20been%20created.%20There%20are%20a%20couple%20of%20options%20you%E2%80%99ll%20be%20able%20to%20select%20from%20for%20making%20changes%20to%20your%20file%20in%20this%20branch%3A%3CUL%3E%0A%3CLI%3EYou%20can%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%2Fcontributing-and-collaborating-using-github-desktop%2Fcreating-an-issue-or-pull-request%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecreate%20a%20Pull%20Request%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efrom%20your%20current%20branch%20%E2%80%93%20if%20I%20wanted%20my%20colleague%20to%20be%20able%20to%20review%20the%20changes%20I%E2%80%99ve%20made%20in%20this%20branch%2C%20I%E2%80%99d%20use%20this%20option%20and%20send%20her%20the%20PR%20for%20review.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20also%20open%20the%20repository%20in%20your%20external%20editor.%20I%20use%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fcode.visualstudio.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EVS%20Code%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20edit%20my%20files%2C%20so%20I%20can%20add%20section%202%20of%20my%20paper%20there%2C%20and%20then%20commit%20it%20to%20my%20section2%20branch.%3C%2FLI%3E%0A%3CLI%3EIf%20I%20already%20have%20section%202%20of%20my%20paper%20saved%20somewhere%20on%20my%20computer%2C%20or%20if%20my%20colleague%20has%20sent%20me%20something%20they%E2%80%99ve%20worked%20on%2C%20I%20can%20follow%20the%20same%20workflow%20as%20above%20and%20check%20out%20the%20files%20in%20my%20repository%20on%20my%20machine%2C%20and%20add%2Fremove%20files%20that%20way.%3C%2FLI%3E%0A%3CLI%3EIf%20I%20just%20need%20to%20make%20a%20small%20change%2C%20I%E2%80%99d%20open%20my%20repository%20in%20the%20browser%20and%20edit%20from%20there.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CTABLE%20width%3D%22601px%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22298px%22%20height%3D%22236px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22new-branch.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276083i10B968EACFB34477%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22new-branch.png%22%20alt%3D%22new-branch.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22302px%22%20height%3D%22236px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22on-section2-branch.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276084i38A05EE53D5CEB63%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22on-section2-branch.png%22%20alt%3D%22on-section2-branch.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CP%3EI%20can%20open%20my%20repository%20in%20GitHub%20to%20check%20out%20all%20of%20the%20files%20and%20information.%20This%20is%20the%20link%20I%E2%80%99d%20send%20to%20a%20colleague%20if%20I%20wanted%20them%20to%20be%20able%20to%20clone%20the%20code%20onto%20their%20local%20machine%2C%20and%20help%20me%20out%20with%20some%20sections.%3CSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22view-on-github.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276085iA7CFD767048F259F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22view-on-github.png%22%20alt%3D%22view-on-github.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%3CBR%20%2F%3ESince%20I%E2%80%99ve%20made%20my%20repository%20private%2C%20I%E2%80%99ll%20need%20to%20add%20collaborators%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESettings%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Epane.%3CSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22invite-collaborators.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276086iC2FFB0B2D23F9E0E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22invite-collaborators.png%22%20alt%3D%22invite-collaborators.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3EOnce%20I%E2%80%99m%20happy%20with%20Section%202%20of%20my%20paper%2C%20I%20can%20go%20ahead%20and%20merge%20it%20into%20the%20main%20branch%20of%20my%20repository.%20I%20switch%20over%20to%20the%20main%20branch%2C%20then%20choose%20a%20branch%20to%20merge%20into%20main%2C%20and%20choose%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Esection2%3C%2FSTRONG%3E.%20Then%2C%20I%E2%80%99ll%20want%20to%20push%20my%20changes%20back%20up%20to%20GitHub%20so%20that%20the%20main%20branch%20is%20updated%20with%20the%20newest%20changes%20for%20any%20future%20collaborators.%3CSPAN%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22merge-branch-into-main.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F276087iBB88E2D92600ECCF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22merge-branch-into-main.png%22%20alt%3D%22merge-branch-into-main.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CBR%20%2F%3EThis%20is%20one%20example%20of%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.atlassian.com%2Fgit%2Ftutorials%2Fcomparing-workflows%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EGit%20workflow%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eyou%20can%20use%20in%20conjunction%20with%20GitHub%20Desktop%20to%20collaborate%20on%20a%20research%20paper%20with%20your%20colleagues.%20There%20are%20several%20other%20ways%20that%20may%20serve%20your%20needs%20better%E2%80%94you%20may%20want%20to%20use%20the%20command%20line%20with%20VS%20Code%2C%20or%20edit%20your%20files%20on%20GitHub%20in%20the%20browser.%20Whatever%20method%20works%20for%20you%20is%20the%20best%20method%2C%20as%20long%20as%20you%E2%80%99re%20able%20to%20accomplish%20your%20goals.%3C%2FP%3E%0A%3CH2%20id%3D%22further-reading-and-useful-links%22%20id%3D%22toc-hId--259059938%22%20id%3D%22toc-hId--259059938%22%20id%3D%22toc-hId--259114499%22%3E%3CBR%20%2F%3EFurther%20reading%20and%20useful%20links%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fdesktop%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20Desktop%20documentation%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.github.com%2Fen%2Fgithub%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub.com%20documentation%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EEdit%20your%20files%20with%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2F%3FWT.mc_id%3Dstud-26449-ornella%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EVisual%20Studio%20Code%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2296894%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22shwars_0-1619516547057.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275746i94F0643FCF56898A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22shwars_0-1619516547057.jpeg%22%20alt%3D%22shwars_0-1619516547057.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EGitHub%20is%20well-known%20as%20a%20platform%20where%20software%20developers%20host%20their%20code%20and%20collaborate%20with%20their%20teams%20on%20a%20project.%20In%20this%20article%2C%20we'll%20show%20you%20how%20you%20can%20use%20the%20GitHub%20model%20to%20do%20the%20same%20thing%20and%20collaborate%20seamlessly%20on%20your%20research%20papers.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2296894%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFaculty%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGitHub%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELearning%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELearning%20Tools%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2320668%22%20slang%3D%22en-US%22%3ERe%3A%20Collaborate%20on%20research%20papers%20with%20GitHub%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320668%22%20slang%3D%22en-US%22%3E%3CP%3EReading%20this%20article%20took%20me%20back%20to%20the%20mid%2080's%20when%20I%20used%20vi%2Fnroff%2Ftroff%20to%20produce%20beautiful%20documents.%26nbsp%3B%20Funny%20how%20things%20have%20gone%20full%20circle%2C%20if%20this%20the%20end%20of%20WYSIWYG%20and%20the%20start%20of%20a%20move%20back%20to%20character%20terminals%3F%3F%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Apr 27 2021 01:26 PM
Updated by: