# How to change Julia GIT settings?

**URL:** <https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730>\
**Category:** General Usage\
**Created:** [May 29, 2019, 12:30pm UTC](https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730 "2019-05-29T12:30:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daneel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daneel/32/175_2.png) [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Post date:** [May 29, 2019, 12:30pm UTC](https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730/1 "2019-05-29T12:30:56Z")

</div>

How can I change the GIT settings that Julia uses? It doesn’t seem to obey the .gitconfig file in my home directory.

In my case I would like to change the default from https:// to git://.

This is related to my [other problem](https://discourse.julialang.org/t/initial-update-fails-on-windows-10-pro-with-julia-1-1-1) but I’ll keep searching for a solution to that as well.

```julia
Windows 10.0.17763
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
	OS: Windows (x86_64-w64-mingw32)
	CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
	WORD_SIZE: 64
	LIBM: libopenlibm
	LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

```

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [May 29, 2019, 1:04pm UTC](https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730/2 "2019-05-29T13:04:25Z")

</div>

Does this help?

help?\> Pkg.setprotocol!  
Pkg.setprotocol!(proto::Union{Nothing, AbstractString}=nothing)

Set the protocol used to access GitHub-hosted packages when adding a url or developing a package. Defaults to delegating the choice to the package  
developer (proto == nothing). Other choices for proto are “https” or “git”.

---

<div class="post-metadata">

**Author:** ![Daneel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daneel/32/175_2.png) [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Post date:** [June 3, 2019, 11:27am UTC](https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730/3 "2019-06-03T11:27:45Z")

</div>

That works.

```julia
using Pkg
Pkg.setprotocol!("git")

```
