# PkgTemplates.jl is not updated to my configurations in global Git config

**URL:** <https://discourse.julialang.org/t/pkgtemplates-jl-is-not-updated-to-my-configurations-in-global-git-config/83146>\
**Category:** New to Julia\
**Tags:** package, first-steps\
**Created:** [June 21, 2022, 9:10pm UTC](https://discourse.julialang.org/t/pkgtemplates-jl-is-not-updated-to-my-configurations-in-global-git-config/83146 "2022-06-21T21:10:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veenty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/veenty/32/50940_2.png) [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Post date:** [June 21, 2022, 9:10pm UTC](https://discourse.julialang.org/t/pkgtemplates-jl-is-not-updated-to-my-configurations-in-global-git-config/83146/1 "2022-06-21T21:10:02Z")

</div>

So I have updated my configurations in global Git config (they where incomplete before) and now I would like for PkgTemplate to read this information, as is suppose to, the issue is that when I do

```julia
t = Template()
t("MyPkg")

```

it spits out the error

```julia
Git: Git hosting service username is required, set one with keyword `user="<username>"`

```

I know that I could manually write the keyword in Template, but I don’t understand why its not readying the information in my global Git

Which for reference is

```julia
(base) Vicentes-MacBook-Pro-5:~ Veenty$ git config --list --show-origin
file:/usr/local/etc/gitconfig credential.helper=osxkeychain
file:/Users/Veenty/.gitconfig user.name=Veenty
file:/Users/Veenty/.gitconfig user.email=vicentegomezh@gmail.com
file:/Users/Veenty/.gitconfig user.user=Veenty
file:/Users/Veenty/.gitconfig filter.lfs.clean=git-lfs clean -- %f
file:/Users/Veenty/.gitconfig filter.lfs.smudge=git-lfs smudge -- %f
file:/Users/Veenty/.gitconfig filter.lfs.process=git-lfs filter-process
file:/Users/Veenty/.gitconfig filter.lfs.required=true
file:/Users/Veenty/.gitconfig core.editor=code --wait
file:/Users/Veenty/.gitconfig merge.tool=vscode
file:/Users/Veenty/.gitconfig mergetool.vscode.cmd=code --wait 

```

---

<div class="post-metadata">

**Author:** ![dylanxyz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dylanxyz/32/36646_2.png) [@dylanxyz](https://discourse.julialang.org/u/dylanxyz)\
**Post date:** [June 21, 2022, 10:01pm UTC](https://discourse.julialang.org/t/pkgtemplates-jl-is-not-updated-to-my-configurations-in-global-git-config/83146/2 "2022-06-21T22:01:10Z")

</div>

Maybe `git config --global github.user <username>` should work.
