Github for Physicists I am wondering if there is a platform to which researchers share or publish the code they used in their research. I noticed that many researchers explain their algorithm and math and present the results visually but the actual program they used are not included in their papers.
For example, on page 262 of 1, Section 3. Results starts with "We have run our two-dimensional denoising algorithm on graphs and real images." and presents several examples of how noisy images can be restored as cleaner images. However, the article doesn't contain any code they used.

1: Leonid I. Rudin, Stanley Osher, and Emad Fatemi. Nonlinear total variation based noise removal algorithms. Physica D: Nonlinear Phenomena, 60(1):259 – 268, 1992,
 A: I am not sure why one would need a special GitHub for physicists -since usual GitHub serves the purpose quite well. I do agree though that in physics there is a tendency to keep hidden the code AND the data. In my opinion, this is a field-specific feature.
For example, in biology the journals often require for the data to be published alongside the manuscript - either as supplementary materials or deposited to public databases (in which case one publishes the accession numbers). This way anyone could use this data for reanalysis or further research. The same applies to the computational analysis of the data - it is usually deposited openly in GitHub or the authors' web sites, although there is less enforcement in this respect. In principle, physics journals also allow for publishing data and code as supplementary materials, but it is not required and there is no respective tradition in the community.
There are obvious tradeoffs involved: on the one hand, public access to one's data and code may help popularizing one's research. On the other hand, it opens opportunities for the competitors to use your work to produce and publish new results, possibly even snatching the priority. In some cases one may also want to keep the code secret with the aim of commercializing it.
